aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/game_state.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/titanic/game_state.h')
-rw-r--r--engines/titanic/game_state.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/engines/titanic/game_state.h b/engines/titanic/game_state.h
index b9d25e9662..37bb603317 100644
--- a/engines/titanic/game_state.h
+++ b/engines/titanic/game_state.h
@@ -40,6 +40,8 @@ public:
CMovieClip *_movieClip;
public:
CGameStateList() : List<ListItem>(), _view(nullptr), _movieClip(nullptr) {}
+
+ bool isViewChanging() const;
};
class CGameState {
@@ -101,6 +103,11 @@ public:
* Changes the current view
*/
void changeView(CViewItem *newView, CMovieClip *clip);
+
+ /**
+ * Check for whether it's time to change the active view
+ */
+ void checkForViewChange();
};
} // End of namespace Titanic