public static void ShowGameOver(ScreenManager screenManager, PlayerIndex? playerIndex) { if(gameOver == null) gameOver = new GameOverBox("You died!!"); screenManager.AddScreen(gameOver, playerIndex); }
public static void ShowArcadeTimeUp(ScreenManager screenManager, PlayerIndex? playerIndex, int score) { arcadeTimeUp = new GameOverBox("Time up!" + Environment.NewLine + "Score: " + score.ToString()); screenManager.AddScreen(arcadeTimeUp, playerIndex); }