diff options
Diffstat (limited to 'engines/mutationofjb/game.cpp')
-rw-r--r-- | engines/mutationofjb/game.cpp | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/engines/mutationofjb/game.cpp b/engines/mutationofjb/game.cpp index a0f85b49b8..24159254df 100644 --- a/engines/mutationofjb/game.cpp +++ b/engines/mutationofjb/game.cpp @@ -39,7 +39,9 @@ Game::Game(MutationOfJBEngine *vm) _delayedLocalScript(nullptr), _gui(*this, _vm->getScreen()), _scriptExecCtx(*this), - _currentAction(ActionInfo::Walk) { + _currentAction(ActionInfo::Walk), + _taskManager(*this), + _assets(*this) { _gameData = new GameData; loadGameData(false); @@ -192,14 +194,6 @@ void Game::setCurrentAction(ActionInfo::Action action) { _currentAction = action; } -Font& Game::getSystemFont() { - return _systemFont; -} - -Font& Game::getSpeechFont() { - return _speechFont; -} - uint8 Game::colorFromString(const char *colorStr) { struct { const char *str; @@ -225,4 +219,12 @@ uint8 Game::colorFromString(const char *colorStr) { return 0x00; } +TaskManager& Game::getTaskManager() { + return _taskManager; +} + +Assets& Game::getAssets() { + return _assets; +} + } |