Ejemplo n.º 1
0
        public InfoControl()
            : base()
        {
            mBgd = ResourceGetTexture2D("InfoSpl");

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

            //Play menu music
            //SoundStopAll();
            PlayCue("musWand");
        }
Ejemplo n.º 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");
        }
Ejemplo n.º 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");
        }
Ejemplo n.º 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");
        }