Пример #1
0
        void buttonShow_Selected(object sender, PlayerIndexEventArgs e)
        {
            tabChoosable      = true;
            wheel.isSpinnable = true;
            MessageBoxScreen msg = new MessageBoxScreen("Tekan enter bila sudah siap!", false, new Vector2(500, 300));

            msg.Accepted += new EventHandler <PlayerIndexEventArgs>(msg_Accepted);
            soal          = new SoalScreen(activePlayer, wheel.choosenOption);
            ScreenManager.AddScreen(soal, ControllingPlayer);
            ScreenManager.AddScreen(msg, ControllingPlayer);
        }
Пример #2
0
        void invokeSoal()
        {
            tabChoosable      = true;
            wheel.isSpinnable = true;
            MessageBoxScreen msg = new MessageBoxScreen("Tekan enter bila sudah siap!", false, new Vector2(500, 300));

            msg.Accepted += new EventHandler <PlayerIndexEventArgs>(msg_Accepted);
            //soal = new SoalScreen(activePlayer, wheel.choosenOption);
            soal = new SoalScreen(activePlayer, (int)(partitionContent[activePlayer, wheel.choosenOption][partitionContent[activePlayer, wheel.choosenOption].Length - 1] - 48));
            ScreenManager.AddScreen(soal, ControllingPlayer);
            ScreenManager.AddScreen(msg, ControllingPlayer);
        }
Пример #3
0
 void invokeSoal()
 {
     tabChoosable = true;
     wheel.isSpinnable = true;
     MessageBoxScreen msg = new MessageBoxScreen("Tekan enter bila sudah siap!", false, new Vector2(500, 300));
     msg.Accepted += new EventHandler<PlayerIndexEventArgs>(msg_Accepted);
     //soal = new SoalScreen(activePlayer, wheel.choosenOption);
     soal = new SoalScreen(activePlayer, (int)(partitionContent[activePlayer, wheel.choosenOption][partitionContent[activePlayer, wheel.choosenOption].Length - 1] - 48));
     ScreenManager.AddScreen(soal, ControllingPlayer);
     ScreenManager.AddScreen(msg, ControllingPlayer);
 }
Пример #4
0
 void buttonShow_Selected(object sender, PlayerIndexEventArgs e)
 {
     tabChoosable = true;
     wheel.isSpinnable = true;
     MessageBoxScreen msg = new MessageBoxScreen("Tekan enter bila sudah siap!", false, new Vector2(500, 300));
     msg.Accepted += new EventHandler<PlayerIndexEventArgs>(msg_Accepted);
     soal = new SoalScreen(activePlayer, wheel.choosenOption);
     ScreenManager.AddScreen(soal, ControllingPlayer);
     ScreenManager.AddScreen(msg, ControllingPlayer);
 }