Exemple #1
0
 public override void Block(Attack attack)
 {
     Console.WriteLine("Blocked on the third armor! No other armors are affected!");
 }
Exemple #2
0
 public abstract void Block(Attack attack);
Exemple #3
0
 public override void Block(Attack attack)
 {
     Console.WriteLine("Blocked on the second armor! Third Armor affected by how this handles it!");
 }
Exemple #4
0
 public void Defend(Attack attack)
 {
     this.armor.Handle(attack);
 }