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 invulnerable except briefly while screaming. She cannot be killed by normal damage; instead the player must use a spring to launch her off the ledge to defeat her.

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.