public DefenceDieFace Roll() { var total = new DefenceDieFace(); this.ForEach(die => total += die.Roll()); return(total); }
public override bool Equals(object obj) { DefenceDieFace other = obj as DefenceDieFace; if (other != null) { return(this.Shield == other.Shield); } return(false); }
public DiceOutcome(AttackDieFace attack, DefenceDieFace defence) { this.Attack = attack; this.Defence = defence; }