/// <summary> /// Handle the input during the end of the game. Any interaction /// will result in it reading in the highsSwinGame. /// </summary> public static void HandleEndOfGameInput() { if (SwinGame.MouseClicked(MouseButton.LeftButton) || SwinGame.KeyTyped(KeyCode.vk_RETURN) || SwinGame.KeyTyped(KeyCode.vk_ESCAPE)) { HighScoreController.ReadHighScore(GameController.HumanPlayer.Score); GameController.EndCurrentState(); } }
/// <summary> /// Handle the input during the end of the game. Any interaction /// will result in it reading in the highsSwinGame. /// </summary> public static void HandleEndOfGameInput() { if (SwinGame.MouseClicked(MouseButton.LeftButton) || SwinGame.KeyTyped(KeyCode.ReturnKey) || SwinGame.KeyTyped(KeyCode.EscapeKey)) { HighScoreController.ReadHighScore(HumanPlayer.Score); EndCurrentState(); } }