Beispiel #1
0
 public void TakeHealing(float healing)
 {
     Hitbox.TakeHealing(healing);
 }
Beispiel #2
0
 public Entity(Hitbox hitbox)
 {
     Hitbox           = hitbox;
     hitbox.OnDamage += OnDamage;
     hitbox.OnDeath  += OnDeath;
 }
Beispiel #3
0
 public void TakeDamage(Damage damage)
 {
     Hitbox.TakeDamage(damage);
 }
Beispiel #4
0
 public StateDrivenEntity(Hitbox hitbox, EntityStateMachine sm) : base(hitbox)
 {
     this.sm = sm;
 }