public void CollisionWithBoss(IBoss boss, Direction direction) { BossBlockHandler.UpateLocation(boss, this, direction); if (direction == Direction.Top) { boss.TakeDamage(); } }
public void TakeDamage() { decoratedBoss.TakeDamage(); }
public void Attack(IBoss boss) { boss.TakeDamage(); }