EPOK RUNTIME
epok::nav::World
Class
Class
Class declared by the navigation module for the navigation module.
Basic usage
This minimal snippet shows the normal syntax for reaching the type. 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