Epok Engine

EPOK RUNTIME

epok::Line2DComponent::follow

Field

Declarations are extracted from the pinned headers. Examples and general guidance are generated sketches, not verified complete programs; consult the linked source and guides for the actual contract.

Field

Nodes the line runs through, in order: the service moves the points onto them every step (ropes, chains, beams between moving things).

Belongs to
epok::Line2DComponent
Header
world2d_content.hpp

Declaration

Declaration
ObjectId follow[16]

Nodes the line runs through, in order: the service moves the points onto them every step (ropes, chains, beams between moving things).

Type
ObjectId[16]
Storage
Per instance

Example sketch

C++ example
#include "world2d_content.hpp"
epok::Line2DComponent& object = /* obtain a valid instance */;

auto firstValue = object.follow[0];

// When mutation is valid for this object:
// object.follow[0] = replacement;

Trade-offs and warnings

Consult the linked header for the meaning, lifetime and permitted use of this declaration.

Declared in runtime/world2d_content.hpp:278