Exemplo n.º 1
0
 public void Hit(float dmg)
 {
     hp -= dmg;
     bossHp.NewHp(hp);
     if (hp <= 0)
     {
         DestroyBoss();
     }
 }