예제 #1
0
    void buttonPress()
    {
        if (selection == 1)
        {
            StartButton.StartGame();
        }

        else if (selection == 2)
        {
            HelpButton.Help();
        }

        else if (selection == 3)
        {
            CreditButton.Credits();
        }

        else if (selection == 4)
        {
            QuitButton.Quit();
        }
    }