Jazz2::Actors::Collectibles::FastFireCollectible class

Fast fire (collectible).

The fast-fire power-up from JJ2, depicted as the player's blaster. Collecting it increases the player's blaster fire rate (cumulative up to a maximum) 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

FastFireCollectible()
Creates a new instance.
~FastFireCollectible()

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.