Exemple #1
0
        }//END ReleaseDie

        public void ScoreCombination(ScoreType score)
        {
            //Used to Show the correct message after the user selects scoring option.
            numRolls = 4;
            form.ShowMessage(ROLLMESSAGES[numRolls]);
            int[] dieValues = new int[5];
            for (int i = 0; i < 5; i++)
            {
                dieValues[i] = dice[i].FaceValue;
            }
            currentPlayer.ScoreCombinations(score, dieValues);
            form.ShowOKButton();
            form.UpdateGridView();
        }//END ScoreCombination