Jazz2::Actors::Collectibles::Stopwatch class

Stopwatch.

The stopwatch power-up from JJ2, which manipulates the level timer. Collecting it extends the player's active power-up (shield) time.

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

Stopwatch()
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.