示例#1
0
        private void Dice_RollEnded(object sender, RollEndedEventArgs e)
        {
            int d1 = e.DiceOneValue;
            int d2 = e.DiceTwoValue;

            Move(pieces[currentTurnPlayerID], (d1 + d2));
        }
 protected void OnRollEnded(RollEndedEventArgs e)
 {
     RollEnded(this, e);
 }