Added controls, it's now MP capable

This commit is contained in:
Kayne Ruse
2013-12-07 02:36:48 +11:00
parent 3b05476689
commit 49c9abe91b
2 changed files with 89 additions and 5 deletions
+4
View File
@@ -60,6 +60,8 @@ protected:
void HandlePlayerDelete(NetworkPacket);
void HandlePlayerUpdate(NetworkPacket);
void SendState();
//global
ConfigUtility& config;
UDPNetworkUtility& network;
@@ -71,6 +73,8 @@ protected:
Button disconnectButton;
Button shutDownButton;
std::map<int, PlayerCharacter> playerCharacters;
PlayerCharacter* localCharacter = nullptr;
int playerIndex = -1;
};
#endif