source/Game.cpp: minor fixes.
This commit is contained in:
parent
976ddecd10
commit
18880ef17e
1 changed files with 3 additions and 5 deletions
|
|
@ -11,14 +11,12 @@
|
||||||
|
|
||||||
namespace sp {
|
namespace sp {
|
||||||
|
|
||||||
Game::Game()
|
Game::Game() :
|
||||||
|
m_running(false)
|
||||||
{
|
{
|
||||||
m_platform = new Win32Application();
|
m_platform = new Win32Application();
|
||||||
|
|
||||||
m_running = false;
|
|
||||||
m_graphics = new Graphics(m_platform);
|
m_graphics = new Graphics(m_platform);
|
||||||
m_input = new InputModule(&m_platform->getInput());
|
m_input = new InputModule(&m_platform->getInput());
|
||||||
|
|
||||||
m_messageHandler = new MessageHandler();
|
m_messageHandler = new MessageHandler();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -113,4 +111,4 @@ MessageHandler* Game::getMessageHandler() const
|
||||||
return m_messageHandler;
|
return m_messageHandler;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
} // namespace sp
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue