Exemplo n.º 1
0
        public static void ShowGameOver(ScreenManager screenManager, PlayerIndex? playerIndex)
        {
            if(gameOver == null)
                gameOver = new GameOverBox("You died!!");

            screenManager.AddScreen(gameOver, playerIndex);
        }
Exemplo n.º 2
0
        public static void ShowArcadeTimeUp(ScreenManager screenManager, PlayerIndex? playerIndex, int score)
        {
            arcadeTimeUp = new GameOverBox("Time up!" + Environment.NewLine + "Score: " + score.ToString());

            screenManager.AddScreen(arcadeTimeUp, playerIndex);
        }