예제 #1
0
        public InfoControl()
            : base()
        {
            mBgd = ResourceGetTexture2D("InfoSpl");

            mBtnBack = new TwoStateButton("BackBtn", 20, 20);

            //Play menu music
            //SoundStopAll();
            PlayCue("musWand");
        }
예제 #2
0
        public WinControl()
            : base()
        {
            mBgd = ResourceGetTexture2D("WinSpl");

            mBtnPlayAgain = new TwoStateButton("PlayAgainBtn", 75, 325);
            mBtnQuit = new TwoStateButton("QuitBtn", 275, 375);

            // Play victory music
            //SoundStopAll();
            PlayCue("musCredits");
        }
예제 #3
0
        public LoseControl()
            : base()
        {
            mBgd = ResourceGetTexture2D("LoseSpl");

            mBtnPlayAgain = new TwoStateButton("PlayAgainBtn", 75, 325);
            mBtnQuit = new TwoStateButton("QuitBtn", 275, 375);

            // Play Game Over Music
            //SoundStopAll();
            PlayCue("musEmo");
        }
예제 #4
0
        public SplashControl()
            : base()
        {
            mBgd = ResourceGetTexture2D("TitleSpl");

            mBtnPlay = new TwoStateButton("PlayBtn", 75, 275);
            mBtnInfo = new TwoStateButton("InfoBtn", 275, 325);
            mBtnQuit = new TwoStateButton("QuitBtn", 475, 375);

            // Play menu music
            //SoundStopAll();
            PlayCue("musWand");
        }