Jazz2::Actors::Bosses::Queen class

Queen (boss).

The Queen of Board, who stands on a ledge and screams to shove the player backwards while dropping bricks from above. She is shielded while idle, shots only count as hits while she acts. She cannot be killed by normal damage; after enough hits she steps back toward the edge of the ledge, falls off it onto a spring and is launched out of the level.

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

Queen()
Creates a new instance.
~Queen()

Public functions

auto OnHandleCollision(ActorBase* other) -> bool override
Called when the object collides with another object.

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.