Trade-offs and warnings
Consult the linked header for this operation’s ownership, lifetime and failure behavior.
EPOK RUNTIME
Method · 1 overload
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.
Sets speed as part of the world2d content module.
void set_speed(Fixed value)Sets speed as part of the world2d content module.
| Parameter | Type | Meaning |
|---|---|---|
value | Fixed | Not documented; consult the linked header. |
Returns: Nothing (void).
#include "world2d_content.hpp"
// Assume these named values have been initialized with valid data:
// Fixed value
epok::PathFollow2DComponent& object = /* obtain a valid instance */;
object.set_speed(value);Consult the linked header for this operation’s ownership, lifetime and failure behavior.
Declared in runtime/world2d_content.hpp:200
~PathFollow2DComponentReleases the resources owned by `epok::PathFollow2DComponent`.destructoradvanceOne simulation step: advance, then place the actor.Methodclass_idPerforms `class id` as part of the world2d content module.Methodget_progressReturns progress as part of the world2d content module.Methodget_progress_ratioReturns progress ratio as part of the world2d content module.Methodget_speedReturns speed as part of the world2d content module.Methodis_movingReports whether moving as part of the world2d content module.Methodlevel_attachedPerforms `level attached` as part of the world2d content module.Methodresolve_pathThe Path2D this follower uses.Methodset_movingSets moving as part of the world2d content module.Methodset_progressSets progress as part of the world2d content module.Methodset_progress_ratioProgress as a fraction (0..1) of the path's length.Method