EPOK RUNTIME
epok::nav::World
Class
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.
Class
Class declared by the navigation module for the navigation module.
Basic usage
This generated sketch illustrates syntax for reaching the type; adapt it to the actual API contract. Open a member below for an operation-specific example.
C++ example
#include "navigation.hpp"
epok::nav::World& value = /* obtain a valid instance from your game */;Nested types
Fields and constants
budgetIntentionally public budget, shared by ALL agents; set once per frame.FieldgraphExposes `graph` on `epok::nav::World` for the navigation module.Fieldmax_obstaclesExposes `max_obstacles` on `epok::nav::World` for the navigation module.VariablerequestsExposes `requests` on `epok::nav::World` for the navigation module.FieldrevisionExposes `revision` on `epok::nav::World` for the navigation module.FieldstatsExposes `stats` on `epok::nav::World` for the navigation module.FieldPublic methods
add_obstacleAdds obstacle as part of the navigation module.MethodcancelPerforms `cancel` as part of the navigation module.Methodedge_openPerforms `edge open` as part of the navigation module.MethodfloorBarycentric floor query in Q8; the closest reachable layer wins.MethodgetReturns get as part of the navigation module.MethodlocatePerforms `locate` as part of the navigation module.MethodoccupyPerforms `occupy` as part of the navigation module.MethodrebuildReplace the current topology (procedural levels/streaming).Methodremove_obstacleRemoves obstacle as part of the navigation module.MethodreplanPerforms `replan` as part of the navigation module.MethodrequestRequests request as part of the navigation module.MethodreservePerforms `reserve` as part of the navigation module.MethodresetResets reset as part of the navigation module.Methodset_obstacleSets obstacle as part of the navigation module.MethodtickPerforms `tick` as part of the navigation module.MethodtraversalPerforms `traversal` as part of the navigation module.MethodupdatingPerforms `updating` as part of the navigation module.Method