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