AI_NavigationMesh::Informator Class Reference

#include <AI_NavigationMesh.h>

Inheritance diagram for AI_NavigationMesh::Informator:

AI_AStar::Informator

List of all members.


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_NavigationMeshm_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]

Get euclidian distance between two A* nodes.

Implements AI_AStar::Informator.


Member Data Documentation

Connection of A* to navigatino mesh.


The documentation for this class was generated from the following file: