i6engine
1.0
|
handles the current Waynet More...
#include <D:/Projekte/i6engine/libs/i6engine-modules/include/i6engine/api/manager/WaynetManager.h>
Public Member Functions | |
WaynetManager () | |
void | createWaynet () |
recreates waynet out of all found waypoints More... | |
std::vector< Vec3 > | getShortestPath (const Vec3 &startPos, const std::string &targetWP) |
returns the shortest path between startPos and targetWP More... | |
void | showWaynet () const |
shows waynet (has to be called in each tick because lines are resetted after one graphics tick) More... | |
std::string | getNearestWaypoint (const Vec3 &pos) const |
returns the waypoint name being next to the position More... | |
Friends | |
class | EngineController |
handles the current Waynet
Definition at line 45 of file WaynetManager.h.
i6e::api::WaynetManager::WaynetManager | ( | ) |
void i6e::api::WaynetManager::createWaynet | ( | ) |
recreates waynet out of all found waypoints
std::string i6e::api::WaynetManager::getNearestWaypoint | ( | const Vec3 & | pos | ) | const |
returns the waypoint name being next to the position
std::vector<Vec3> i6e::api::WaynetManager::getShortestPath | ( | const Vec3 & | startPos, |
const std::string & | targetWP | ||
) |
returns the shortest path between startPos and targetWP
void i6e::api::WaynetManager::showWaynet | ( | ) | const |
shows waynet (has to be called in each tick because lines are resetted after one graphics tick)
|
friend |
Definition at line 46 of file WaynetManager.h.