Jazz2::Actors::Environment::BonusWarp class

Base classes

class Jazz2::Actors::ActorBase
Base class of an object.

Public static functions

static void Preload(const ActorActivationDetails& details)

Constructors, destructors, conversion operators

BonusWarp()

Public functions

void Activate(Player* player)
Activates the warp.
auto GetCost() const -> std::uint16_t
Returns cost of the warp in coins.

Protected functions

auto OnActivatedAsync(const ActorActivationDetails& details) -> Task<bool> override
Called when the object is created and activated.
void OnUpdateHitbox() override
Called when the hitbox needs to be updated.