Jazz2::Actors::Bosses::Devan class

Devan (boss).

Devan Shell, the main antagonist, fought in his humanoid form. He warps in, then runs around the arena shooting bullets and crouching to dodge incoming fire. Once reduced to half health he drops his gun and transforms into a flying demon that hovers and spits fireballs; depleting his health in this form makes him fall and warp out, ending the fight.

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

Devan()
Creates a new instance.

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.