1
0
Fork 0

source/Game.cpp: minor fixes.

This commit is contained in:
Henrik Hautakoski 2020-09-24 16:33:30 +02:00
parent 976ddecd10
commit 18880ef17e

View file

@ -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