]> Dogcows Code - chaz/carfire/commitdiff
git-svn-id: https://bd85.net/svn/cs3505_group@8 92bb83a3-7c8f-8a45-bc97-515c4e399668
authorbrady <brady@92bb83a3-7c8f-8a45-bc97-515c4e399668>
Thu, 18 Mar 2010 18:10:17 +0000 (18:10 +0000)
committerbrady <brady@92bb83a3-7c8f-8a45-bc97-515c4e399668>
Thu, 18 Mar 2010 18:10:17 +0000 (18:10 +0000)
Project06/lobbyTest/lobbyTest/LobbyGUI.cs

index 046fa7859130f21f4ccadc48dabbe1c58d1796ef..288a62182730a4592e8a933fc2562e8474d90e21 100644 (file)
@@ -118,6 +118,8 @@ namespace lobbyTest
                     }\r
                     break;\r
                 case lobbyState.CreateGame:\r
+                    if (currentKeyboardState.IsKeyDown(Keys.X) && previousKeyboardState.IsKeyUp(Keys.X))\r
+                        currentState = lobbyState.Welcome;\r
 \r
                     break;\r
                 case lobbyState.FindGame:\r
@@ -126,6 +128,8 @@ namespace lobbyTest
 \r
                     break;\r
                 case lobbyState.Connected:\r
+                    if (currentKeyboardState.IsKeyDown(Keys.X) && previousKeyboardState.IsKeyUp(Keys.X))\r
+                        currentState = lobbyState.Welcome;\r
 \r
                     break;\r
 \r
This page took 0.024726 seconds and 4 git commands to generate.