Added support for multiplayer.

Reactored code, clumped together variables in PlayerDefinition.h.
Integrated server with entity system.
This commit is contained in:
Jocke
2015-12-08 16:41:22 +01:00
parent c48c9e1f86
commit 94adaf8ae3
4 changed files with 85 additions and 44 deletions
+1 -1
View File
@@ -81,6 +81,6 @@ void Game::NetworkFunction()
m_Client.Start();
}
if (inputMessage == "s" || inputMessage == "S") {
m_Server.Start();
m_Server.Start(m_World);
}
}