Jazz2::Actors::Environment::AirboardGenerator class

Airboard generator.

Spawn point that hands the player an Airboard—a flying surfboard the rabbit rides through the air. Touching it grants the Airboard flight modifier, then the generator goes dormant for a configured delay before it can be picked up again.

Base classes

class Jazz2::Actors::ActorBase
Base class of an object.

Public static functions

static void Preload(const ActorActivationDetails& details)
Preloads all assets required by this actor.

Constructors, destructors, conversion operators

AirboardGenerator()
Creates a new instance.

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.
void OnUpdate(float timeMult) override
Called every frame to update the object state.