Added support for multiplayer.
Reactored code, clumped together variables in PlayerDefinition.h. Integrated server with entity system.
This commit is contained in:
+1
-1
@@ -81,6 +81,6 @@ void Game::NetworkFunction()
|
||||
m_Client.Start();
|
||||
}
|
||||
if (inputMessage == "s" || inputMessage == "S") {
|
||||
m_Server.Start();
|
||||
m_Server.Start(m_World);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user