void RunState::OnStart(void *data) { Log("Entering Run State"); gGui->LoadGUI("gui/views/game.rml"); if (data) { GameScene *g = static_cast<GameScene *>(data); g->Resume(); } }
void GameRunState::OnStart(void *data) { Log("Entering GameRun State"); gGui->LoadGUI("gui/views/game.rml"); // Start the game connection pRSClient->Connect(); if (data) { GameScene *g = static_cast<GameScene *>(data); g->Resume(); } }