class
#include <Jazz2/Actors/Solid/GemCrate.h>
GemCrate
Base classes
- class GenericContainer
- Base class of an item container.
Public static functions
- static void Preload(const ActorActivationDetails& details)
Constructors, destructors, conversion operators
- GemCrate()
Public functions
-
auto OnHandleCollision(std::
shared_ptr<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 OnPerish(ActorBase* collider) -> bool override
- Called when the object has no health left and should perish.