CoinCollectible class
Coin (collectible).
Silver and gold coins from JJ2, worth one and five coins respectively. Coins accumulate in the player's coin total (separate from the gem/score total) and are spent at bonus warps to access secret areas. Awards points on pickup.
Base classes
- class CollectibleBase
- Base class of a collectible object.
Public static functions
- static void Preload(const ActorActivationDetails& details)
- Preloads all assets required by this actor.
Constructors, destructors, conversion operators
- CoinCollectible()
- Creates a new instance.
Protected functions
- auto OnActivatedAsync(const ActorActivationDetails& details) -> Task<bool> override
- Called when the object is created and activated.
- void OnCollect(Player* player) override
- Called when the collectible is collected.