소스 검색

Added mouse handling to LevelOverScreen

Michael Cummings 12 년 전
부모
커밋
6a85061269
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      HoneycombRush/Screens/LevelOverScreen.cs

+ 2 - 1
HoneycombRush/Screens/LevelOverScreen.cs

@@ -159,7 +159,8 @@ namespace HoneycombRush
             }
             // Handle keyboard
             else if (input.IsNewKeyPress(Keys.Enter, ControllingPlayer, out player) ||
-                input.IsNewKeyPress(Keys.Space, ControllingPlayer, out player))
+			         input.IsNewKeyPress(Keys.Space, ControllingPlayer, out player) ||
+			         input.IsNewMouseClick(InputState.MouseButton.Left, ControllingPlayer, out player))
             {
                 StartNewLevelOrExit(input);
             }