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.
True once when the agent reaches a reachable target.
bool take_arrived()True once when the agent reaches a reachable target.
This overload takes no parameters.
Returns: bool. Consult the linked header for its meaning.
#include "world2d_navigation.hpp"
epok::NavigationAgent2DComponent& object = /* obtain a valid instance */;
auto result = object.take_arrived();Consult the linked header for this operation’s ownership, lifetime and failure behavior.
Declared in runtime/world2d_navigation.hpp:511
class_idPerforms `class id` as part of the world2d navigation module.Methodget_max_speedReturns max speed as part of the world2d navigation module.Methodget_next_xReturns next x as part of the world2d navigation module.Methodget_next_yReturns next y as part of the world2d navigation module.Methodget_path_point_countReturns path point count as part of the world2d navigation module.Methodget_target_actorReturns target actor as part of the world2d navigation module.Methodget_target_xReturns target x as part of the world2d navigation module.Methodget_target_yReturns target y as part of the world2d navigation module.Methodget_velocity_xReturns velocity x as part of the world2d navigation module.Methodget_velocity_yReturns velocity y as part of the world2d navigation module.Methodis_navigation_finishedReports whether navigation finished as part of the world2d navigation module.Methodis_target_reachableReports whether target reachable as part of the world2d navigation module.Method