Beispiel #1
0
 public override void Attack(Avatar target)
 {
     Console.WriteLine(Name + " shoots " + target.Name + " with 4 damage");
     target.doDamage(4);
 }
Beispiel #2
0
 public override void Attack(Avatar target)
 {
     Console.WriteLine(Name + " casts a spell on " + target.Name + " with 10 damage");
     target.doDamage(4);
 }
Beispiel #3
0
 public override void Attack(Avatar target)
 {
     Console.WriteLine(Name + " hits " + target.Name + " with 7 damage");
     target.doDamage(7);
 }