Ejemplo n.º 1
0
    public void ShowHighScoresInput()
    {
        if (currentState.GetStateType() == GameState.State.RESULT)
        {
            long newScore  = enemyHandler.GetScore();
            int  scoreSlot = highScores.CheckScoreSlot(newScore);

            if (scoreSlot >= 0)
            {
                SwitchState(GameState.State.HIGH_SCORE_INPUT);
            }
            else
            {
                SwitchState(GameState.State.HIGH_SCORE);
            }
        }
    }