aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/pet_control/pet_rooms_glyphs.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/titanic/pet_control/pet_rooms_glyphs.h')
-rw-r--r--engines/titanic/pet_control/pet_rooms_glyphs.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/titanic/pet_control/pet_rooms_glyphs.h b/engines/titanic/pet_control/pet_rooms_glyphs.h
index 1d6ded7af9..98ddcc74e9 100644
--- a/engines/titanic/pet_control/pet_rooms_glyphs.h
+++ b/engines/titanic/pet_control/pet_rooms_glyphs.h
@@ -78,7 +78,7 @@ public:
/**
* Set the room flags for the glyph
*/
- void setFoomFlags(uint flags) { _roomFlags = flags; }
+ void setRoomFlags(uint flags) { _roomFlags = flags; }
/**
* Get the room flags for the glyph
@@ -92,6 +92,8 @@ public:
*/
void setMode(RoomGlyphMode mode) { _mode = mode; }
+ void changeLocation(int newClassNum);
+
bool isModeValid() const { return _mode != RGM_0; }
bool isMode1() const { return _mode == RGM_1; }
bool isMode2() const { return _mode == RGM_2; }