Exemplo n.º 1
0
 private void getHit(Being b, Weapon weapon)
 {
     callFriends();
 }
Exemplo n.º 2
0
 public virtual void GetHit(Vector2 direction, Weapon weapon)
 {
     Being.Health -= weapon.Damage;
     ((Being)Owner).GetHit(weapon);
 }
Exemplo n.º 3
0
 public void GetHit(Weapon weapon)
 {
     if (gotHit != null)
         gotHit(this, weapon);
 }
Exemplo n.º 4
0
        public virtual void GetHit(Weapon weapon)
        {
            Being.Health -= weapon.Damage;

            ((Being)Owner).GetHit(weapon);
        }