Exemple #1
0
 public virtual void Defend(Attack attack)
 {
     _wrappee.Defend(attack);
 }
Exemple #2
0
        public Attack Attack()
        {
            var attack = new Attack("Normal attack: " + this.AttackValue, this.AttackValue);

            return(attack);
        }
 public override void Defend(Attack attack)
 {
     attack.Messages.Add("One hand defended the attack: -" + DefenseValue);
     attack.Value -= DefenseValue;
     base.Defend(attack);
 }
 public virtual void Defend(Attack attack)
 {
     throw new NotImplementedException();
 }