From: brady Date: Sat, 20 Mar 2010 11:28:12 +0000 (+0000) Subject: Lobby is almost completely functional. Currently it tests working allowing X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=2e6a46aa2634b5585886b421c777df1cca273940;p=chaz%2Fcarfire Lobby is almost completely functional. Currently it tests working allowing players to join the same lobby, signal ready and when all are ready host can start the game. git-svn-id: https://bd85.net/svn/cs3505_group@26 92bb83a3-7c8f-8a45-bc97-515c4e399668 --- diff --git a/Project06/CS 3505 Project 06/CS 3505 Project 06/LobbyGUI.cs b/Project06/CS 3505 Project 06/CS 3505 Project 06/LobbyGUI.cs index 6026a61..b898fcc 100644 --- a/Project06/CS 3505 Project 06/CS 3505 Project 06/LobbyGUI.cs +++ b/Project06/CS 3505 Project 06/CS 3505 Project 06/LobbyGUI.cs @@ -221,6 +221,8 @@ namespace CS_3505_Project_06 break; } } + + //allows host to start the game when all players are ready, change count below to different number for testing with less then 4 players if(allReady && players.Count == 2 && localPlayer == players[0]) { if (currentKeyboardState.IsKeyDown(Keys.B) && previousKeyboardState.IsKeyUp(Keys.B))