Jazz2::Actors::Bosses::Uterus class

Uterus (boss).

A floating brain-like boss that drifts around the arena, encircled by a ring of orbiting shield parts. Shooting it while shielded makes it drop a Crab, shooting the shield parts three times destroys them. Once all of them are gone it can be hurt while it is open, and it is defeated by depleting its health.

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

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

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.
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.