Jazz2::Actors::Bosses::TurtleBoss class

Turtle (boss).

The Tuf Turtle boss, an oversized turtle that walks back and forth toward the nearest player. It periodically stops to swing a tethered spiked mace that arcs out at the player and returns. It is defeated by depleting its health, after which its shell is flung loose.

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

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

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.
auto OnPerish(ActorBase* collider) -> bool override
Called when the object has no health left and should perish.