AI_NavigationMesh::Informator Class Reference
#include <AI_NavigationMesh.h>
Inheritance diagram for AI_NavigationMesh::Informator:
Detailed Description
Provide heuristic to A* algorithm for navigation mesh purposes.Public Member Functions | |
void | setNavigationMesh (AI_NavigationMesh *ptr_navmesh) |
Set navigation mesh. | |
virtual float | getHeuristic (AI_AStar::Node *ptr_node1, AI_AStar::Node *ptr_node2) |
Get euclidian distance between two A* nodes. | |
Protected Attributes | |
AI_NavigationMesh * | m_ptr_navmesh |
Connection of A* to navigatino mesh. |
Member Function Documentation
void AI_NavigationMesh::Informator::setNavigationMesh | ( | AI_NavigationMesh * | ptr_navmesh | ) | [inline] |
Set navigation mesh.
float AI_NavigationMesh::Informator::getHeuristic | ( | AI_AStar::Node * | ptr_node1, | |
AI_AStar::Node * | ptr_node2 | |||
) | [inline, virtual] |
Member Data Documentation
Connection of A* to navigatino mesh.
The documentation for this class was generated from the following file: