internal virtual void Attack(Adaptee xTarget)
 {
     xTarget.HP -= 15;
     Console.WriteLine("I FCKED THAT GUY UP!");
 }
 internal virtual void Heal(Adaptee xTarget)
 {
     xTarget.HP += 5;
     Console.WriteLine($"I gotcha back, mate {xTarget.GetType()}");
 }
 internal override void Attack(Adaptee xTarget)
 {
     xTarget.HP -= 99;
     Console.WriteLine("HORST!");
 }
Exemple #4
0
 internal override void Attack(Adaptee xTarget)
 {
     this.MP    -= 5;
     xTarget.HP -= 15;
     Console.WriteLine("I FCKED THAT GUY UP, WITH MY MAGIC STUFF, I MEAN STAFF!");
 }
 internal Adapter(Adaptee xAdaptee)
 {
     this.xAdaptee = xAdaptee;
 }
 internal override void Heal(Adaptee xTarget)
 {
     xTarget.HP += 25;
     Console.WriteLine($"Here, have sum juice from mah roots, {xTarget.GetType()}");
 }
 internal override void Attack(Adaptee xTarget)
 {
     Console.WriteLine("SRY I AM A PACIFIST!");
 }