aboutsummaryrefslogtreecommitdiff
path: root/engines/mutationofjb/game.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/mutationofjb/game.h')
-rw-r--r--engines/mutationofjb/game.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/mutationofjb/game.h b/engines/mutationofjb/game.h
index adb5bf5c48..27804ea8d8 100644
--- a/engines/mutationofjb/game.h
+++ b/engines/mutationofjb/game.h
@@ -25,9 +25,9 @@
#include "mutationofjb/assets.h"
#include "mutationofjb/gamescreen.h"
-#include "mutationofjb/script.h"
#include "mutationofjb/tasks/taskmanager.h"
+#include "common/language.h"
#include "common/ptr.h"
#include "common/random.h"
#include "common/scummsys.h"
@@ -51,6 +51,8 @@ struct Bitmap;
class Game {
public:
Game(MutationOfJBEngine *vm);
+ MutationOfJBEngine &getEngine();
+
Common::RandomSource &getRandomSource();
GameData &getGameData();
Room &getRoom();
@@ -68,9 +70,6 @@ public:
GameScreen &getGameScreen();
- ActionInfo::Action getCurrentAction() const;
- void setCurrentAction(ActionInfo::Action);
-
static uint8 colorFromString(const char *colorStr);
TaskManager &getTaskManager();
@@ -83,6 +82,8 @@ public:
bool loadSaveAllowed() const;
+ Common::Language getLanguage() const;
+
private:
bool loadGameData(bool partB);
void runActiveCommand();
@@ -98,7 +99,6 @@ private:
Script *_delayedLocalScript;
Room *_room;
GameScreen _gui;
- ActionInfo::Action _currentAction;
ScriptExecutionContext _scriptExecCtx;