IceBlock class
Ice block.
Block of ice that blocks the player's path and shatters after a short time, scattering ice shrapnel. It disappears early if the tile it occupies is cleared, and its timer can be refreshed to keep it solid.
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
- IceBlock()
- Creates a new instance.
Public functions
- void ResetTimeLeft()
- Resets the remaining time before the ice block disappears.
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.