Esempio n. 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);
        }
Esempio n. 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);
        }
Esempio n. 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);
 }
Esempio n. 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);
 }