Jazz2::Actors::Environment::AmbientBubbles class

Ambient bubbles.

Decorative emitter that releases streams of rising bubbles, used in underwater sections to give submerged areas life. Purely cosmetic—the bubbles drift upward and fade away without affecting gameplay.

Base classes

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

Public static functions

static void Preload(const ActorActivationDetails& details)
Preloads all assets required by this actor.

Constructors, destructors, conversion operators

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