diff options
author | Paul Gilbert | 2016-05-22 15:51:35 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-07-15 19:14:53 -0400 |
commit | 938ec867fe6d172c4489bb28ab4a2609004459dc (patch) | |
tree | 6c5f02aa645ac00c666d22e699d89b5180faafe4 /engines | |
parent | 73e2e8f429eea33e121d93dbc2c38b8be52709d8 (diff) | |
download | scummvm-rg350-938ec867fe6d172c4489bb28ab4a2609004459dc.tar.gz scummvm-rg350-938ec867fe6d172c4489bb28ab4a2609004459dc.tar.bz2 scummvm-rg350-938ec867fe6d172c4489bb28ab4a2609004459dc.zip |
TITANIC: Added TTword isClass method
Diffstat (limited to 'engines')
-rw-r--r-- | engines/titanic/true_talk/tt_word.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/titanic/true_talk/tt_word.h b/engines/titanic/true_talk/tt_word.h index 05108817ce..94edee329e 100644 --- a/engines/titanic/true_talk/tt_word.h +++ b/engines/titanic/true_talk/tt_word.h @@ -142,6 +142,11 @@ public: TTstringStatus getChainStatus() const; /** + * Returns true if the word is of the specified class + */ + bool isClass(WordClass wordClass) const { return _wordClass == wordClass; } + + /** * Copy the word and any attached to it */ TTword *copyWords(); |