/// <summary> /// Sets the UI to prevent rolling or selecting score buttons again /// and shows the OK button. /// </summary> public void SetUiForEndOfTurn() { form.DisableRollButton(); DisableAllScoreButtons(); form.ShowMessage("Your turn has ended - click OK"); form.ShowOkButton(); }
public void ScoreCombination(ScoreType scoretype) { for (int i = 0; i < NUM_OF_DICE; i++) { diceNum[i] = dice[i].FaceValue; } currentPlayer.ScoreCombination(scoretype, diceNum); currentPlayer.ShowScores(); form.ShowOkButton(); }