Jazz2::Actors::Bosses::Bilsy class

Bilsy (boss).

The fire-throwing demon summoned by Devan. He appears near his home spot, and when a player is close he either throws a homing fireball (when facing the player) or vanishes, then reappears a few steps to the side. He is defeated once his health is depleted.

Base classes

class BossBase
Base class of an enemy boss.

Public static functions

static void Preload(const ActorActivationDetails& details)
Preloads all assets required by this actor.

Constructors, destructors, conversion operators

Bilsy()
Creates a new instance.

Public functions

auto TakesSingleBlastDamage() const -> bool override
Returns true if a TNT blast takes only one point of health however close it is.

Protected functions

auto OnActivatedAsync(const ActorActivationDetails& details) -> Task<bool> override
Called when the object is created and activated.
auto OnActivatedBoss() -> bool override
Called when the boss is activated.
void OnUpdate(float timeMult) override
Called every frame to update the object state.
void OnUpdateHitbox() override
Called when the hitbox needs to be updated.
auto OnPerish(ActorBase* collider) -> bool override
Called when the object has no health left and should perish.