Jazz2::Actors::Bosses::Bubba class

Bubba (boss).

A large frog boss that bounds around the arena in big jumps toward the nearest player. On landing it randomly either spews a fireball, whirls into a tornado dash, or jumps again. It is defeated by depleting its health between attacks, after which it collapses in a death animation.

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

Bubba()
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.
void OnHitWall(float timeMult) override
Called when the object hits a wall.