Exemple #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            DisableRoll();
            MoveResult res = Game.RollTheDice(CurrentPlayer);

            if (res.Result == MoveResult.ResultType.Negative)
            {
                MessageBox.Show("Nie udało się rzucić, z powodu: " + res.Description);
            }
        }
Exemple #2
0
 public override void AskForRoll(GameStateController game)
 {
     game.RollTheDice(this);
 }