Ejemplo n.º 1
0
 public string OnTroll(Troll troll)
 {
     troll.Health += 1;
     return("Troll was Healed! It has " + troll.Health.ToString() + " health points left");
 }
Ejemplo n.º 2
0
 public string OnTroll(Troll troll)
 {
     troll.Health -= 1;
     return("Hound was attacked! It has " + troll.Health.ToString() + " health points left");
 }