]> Dogcows Code - chaz/carfire/commitdiff
Lobby is almost completely functional. Currently it tests working allowing
authorbrady <brady@92bb83a3-7c8f-8a45-bc97-515c4e399668>
Sat, 20 Mar 2010 11:28:12 +0000 (11:28 +0000)
committerbrady <brady@92bb83a3-7c8f-8a45-bc97-515c4e399668>
Sat, 20 Mar 2010 11:28:12 +0000 (11:28 +0000)
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

index 6026a6161d212a66a88a77f68de109369bf394c3..b898fccaa3f35cee958a709e0efa7dff567ef81c 100644 (file)
@@ -221,6 +221,8 @@ namespace CS_3505_Project_06
                                     break;\r
                                 }\r
                         }\r
                                     break;\r
                                 }\r
                         }\r
+\r
+                        //allows host to start the game when all players are ready, change count below to different number for testing with less then 4 players\r
                         if(allReady && players.Count == 2 && localPlayer == players[0])\r
                         {\r
                             if (currentKeyboardState.IsKeyDown(Keys.B) && previousKeyboardState.IsKeyUp(Keys.B))\r
                         if(allReady && players.Count == 2 && localPlayer == players[0])\r
                         {\r
                             if (currentKeyboardState.IsKeyDown(Keys.B) && previousKeyboardState.IsKeyUp(Keys.B))\r
This page took 0.020456 seconds and 4 git commands to generate.