#include "control/joystickkeyboardcontroller.hpp"
#include "gui/menu.hpp"
#include "audio/sound_manager.hpp"
-#include "script_manager.hpp"
#include "gameconfig.hpp"
#include "main.hpp"
#include "resources.hpp"
}
next_screen->setup();
- script_manager->fire_wakeup_event(ScriptManager::SCREEN_SWITCHED);
+ ScriptManager::instance->fire_wakeup_event(ScriptManager::SCREEN_SWITCHED);
current_screen.reset(next_screen.release());
next_screen.reset(NULL);
nextpush = false;
elapsed_time *= speed;
game_time += elapsed_time;
- script_manager->update();
+ ScriptManager::instance->update();
current_screen->update(elapsed_time);
main_controller->update();