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.
Returns progress as part of the world2d content module.
Fixed get_progress() constReturns progress as part of the world2d content module.
This overload takes no parameters.
Returns: Fixed. Consult the linked header for its meaning.
#include "world2d_content.hpp"
epok::PathFollow2DComponent& object = /* obtain a valid instance */;
auto result = object.get_progress();Consult the linked header for this operation’s ownership, lifetime and failure behavior.
Declared in runtime/world2d_content.hpp:190
~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_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.Methodset_speedSets speed as part of the world2d content module.Method