Exemplo n.º 1
0
    // Scores
    public void SwitchLookAtScoresMenuButton()
    {
        // Start menu
        if (!uiControler.GetScoresDisplay())
        {
            // Start - OFF
            uiControler.DeActivateStart();

            // Scores display - ON
            uiControler.ActivateScoresDisplay();

            mainUpdate.DisplayScoresMenu();
        }

        // Scores display
        else
        {
            // If looing at permant scores
            if (uiControler.GetPermanenttScores())
            {
                uiControler.DeActivatePermanenttScores();

                uiControler.ActivateChnageScores();
            }

            // Start - ON
            uiControler.ActivateStart();

            // Scores display - OFF
            uiControler.DeActivateScoresDisplay();
        }
    }