Jazz2::Actors::Multiplayer::RemoteActor class

Remote object in online session.

Base classes

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

Constructors, destructors, conversion operators

RemoteActor()

Public functions

void AssignMetadata(StringView path, AnimState anim, ActorState state)
void SyncWithServer(Vector2f pos, AnimState anim, float rotation, bool isVisible, bool isFacingLeft, bool animPaused, Actors::ActorRendererType rendererType)

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.