Checkpoint class
Checkpoint.
Mid-level marker that the player activates by touching it, saving the spot as the respawn position. After dying, the rabbit reappears at the last activated checkpoint instead of the level start.
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
- Checkpoint()
- 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 OnUpdateHitbox() override
- Called when the hitbox needs to be updated.