public void WaitingForDiceRoll() { InfoLabel.Text = Game.CurrentPerson.ToString() + " - Roll the dice"; if (Game.CurrentPerson.IsAI) { DiceButton.Enabled = false; DiceTimer.Start(); } else { DiceButton.Enabled = true; } }
/// <summary> /// Disables RollButton, initializes counter as 0, starts DiceTimer. /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void RollButton_Click(object sender, EventArgs e) { RollButton.Enabled = false; counter = 0; DiceTimer.Start(); }//end of RollButton