Ejemplo n.º 1
0
 public bool Verteidigen(Angriff a)
 {
     Hp = hp - a.Gegen(this.Art.Typ);
     if (Hp > 0)
     {
         return(true);
     }
     if (hp < 0)
     {
         hp = 0;
     }
     return(false);
 }
Ejemplo n.º 2
0
 public Monster(Angriff angriff, Monsterart art)
 {
     Angriff = angriff;
     Art     = art;
     Hp      = art.Maxhp;
 }