PinballBumper class
#include <Jazz2/Actors/Solid/PinballBumper.h>
Pinball bumper.
A round bumper found in pinball-themed levels that flashes and forcefully knocks the player away in the direction they struck it, awarding score, much like the bumpers on a real pinball table.
Base classes
- class Jazz2::Actors::SolidObjectBase
- Base class of a (pushable) solid object.
Public static functions
- static void Preload(const ActorActivationDetails& details)
- Preloads all assets required by this actor.
Constructors, destructors, conversion operators
- PinballBumper()
- Creates a new instance.
Protected functions
- auto OnActivatedAsync(const ActorActivationDetails& details) -> Task<bool> override
- Called when the object is created and activated.
- void OnUpdate(float timeMult) override
- Called every frame to update the object state.
- void OnEmitLights(SmallVectorImpl<LightEmitter>& lights) override
- Called when emitting lights.