diff --git a/source/Game.cpp b/source/Game.cpp index dcb271d..5213c50 100644 --- a/source/Game.cpp +++ b/source/Game.cpp @@ -11,14 +11,12 @@ namespace sp { -Game::Game() +Game::Game() : +m_running(false) { m_platform = new Win32Application(); - - m_running = false; m_graphics = new Graphics(m_platform); m_input = new InputModule(&m_platform->getInput()); - m_messageHandler = new MessageHandler(); } @@ -113,4 +111,4 @@ MessageHandler* Game::getMessageHandler() const return m_messageHandler; } -} +} // namespace sp