示例#1
0
        public void StopGame()
        {
            // Update highscore
            bestScoreThisInstance = bestScoreThisInstance > player.GetNumberOfRowsPassed()
                ? bestScoreThisInstance
                : player.GetNumberOfRowsPassed();

            player.StopPlayer();
            UiController.ShowEndScreen();
        }