Jazz2::Actors::Environment::EndOfLevel class

End of level sign.

The level-exit sign post. When a player shoots it, the level is completed and the game proceeds to the next stage according to the configured exit type.

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

EndOfLevel()
Creates a new instance.

Protected functions

auto OnActivatedAsync(const ActorActivationDetails& details) -> Task<bool> override
Called when the object is created and activated.
void OnUpdateHitbox() override
Called when the hitbox needs to be updated.
auto OnHandleCollision(ActorBase* other) -> bool override
Called when the object collides with another object.