From 2e6a46aa2634b5585886b421c777df1cca273940 Mon Sep 17 00:00:00 2001 From: brady Date: Sat, 20 Mar 2010 11:28:12 +0000 Subject: [PATCH] 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 --- Project06/CS 3505 Project 06/CS 3505 Project 06/LobbyGUI.cs | 2 ++ 1 file changed, 2 insertions(+) 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)) -- 2.45.2