Ejemplo n.º 1
0
        /// <summary>
        /// Inits the Player to default values.
        /// </summary>
        private void Init()
        {
            Score = 0;
            Dice = new DieSide[AmountOfDiceToRoll];

            for (int i = 0; i < Dice.Length; ++i)
            {
                // Create a new Die Side.
                Dice[i] = new DieSide();
            }
        }
        public DieSideUserControl(DieSide dieSide)
        {
            InitializeComponent();

            this.DieSide = dieSide;
        }