Epok Engine

EPOK RUNTIME

epok::nav::move_actor

Variable

Variable

Installed by the World3D runtime.

Belongs to
epok::nav
Header
navigation_components.hpp

Declaration

Declaration
MoveResult (*move_actor)(ActorData &, const Fixed *, uint32_t)

Installed by the World3D runtime.

Type
MoveResult (*)(ActorData &, const Fixed *, uint32_t)
Storage
Namespace scope

Example

C++ example
#include "navigation_components.hpp"

auto callback = epok::nav::move_actor;

// Assign a function with the exact declared signature:
// epok::nav::move_actor = &myCallback;

When it helps

Use this member when you need direct access to the state represented by its declared type.

Trade-offs and warnings

Direct field access has no validation step. Keep the owning object alive, respect units and ranges, and do not mutate state while hardware or another subsystem is consuming it.

Declared in runtime/navigation_components.hpp:7