aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/true_talk/tt_concept.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/titanic/true_talk/tt_concept.h')
-rw-r--r--engines/titanic/true_talk/tt_concept.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/engines/titanic/true_talk/tt_concept.h b/engines/titanic/true_talk/tt_concept.h
index 8168d4ebe1..98a6ee6ea3 100644
--- a/engines/titanic/true_talk/tt_concept.h
+++ b/engines/titanic/true_talk/tt_concept.h
@@ -118,12 +118,20 @@ public:
*/
bool isValid() const { return _status == SS_VALID; }
+ /**
+ * Returns true if the word is of the specified class
+ */
+ bool isWordClass(WordClass wordClass) const {
+ return _wordP && _wordP->isClass(wordClass);
+ }
+
void setFlag(bool val) { _flag = val; }
void set1C(int val) { _field1C = val; }
bool checkWordId1() const;
bool checkWordId2() const;
+ bool checkWordId3() const;
bool checkWordClass() const;
/**