GemGiant class
Giant gem.
The large gem crystal from JJ2 that cannot be collected directly. It must be destroyed with weapons fire, TNT, or a special-move attack, whereupon it shatters into a scattered burst of regular gems.
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
- GemGiant()
- 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.
- auto OnPerish(ActorBase* collider) -> bool override
- Called when the object has no health left and should perish.