CarrotFlyCollectible class
Fly carrot (collectible).
The flying carrot (copter ears) power-up from JJ2. Collecting it lets the player hover and fly for a limited time by applying the copter modifier, and awards points.
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
- CarrotFlyCollectible()
- 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.