Game: remove setup() method. do setup in run() instead.
This commit is contained in:
parent
d58c49421e
commit
2a1851efb5
2 changed files with 1 additions and 8 deletions
|
|
@ -30,16 +30,11 @@ Game::~Game()
|
|||
delete m_messageHandler;
|
||||
}
|
||||
|
||||
void Game::setup()
|
||||
void Game::run()
|
||||
{
|
||||
m_graphics->init();
|
||||
|
||||
init();
|
||||
}
|
||||
|
||||
void Game::run()
|
||||
{
|
||||
setup();
|
||||
|
||||
gameLoop();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue