Advanced Strategic Command
Public Member Functions | Public Attributes | List of all members
AStar3D::Node Struct Reference

#include <astar2.h>

Public Member Functions

bool operator< (const Node &b) const
 
bool operator> (const Node &b) const
 

Public Attributes

const Nodeprevious
 
MapCoordinate3D h
 
AStar3D::DistanceType gval
 
AStar3D::DistanceType hval
 
int enterHeight
 
bool canStop
 
bool hasAttacked
 

Detailed Description

Definition at line 62 of file astar2.h.

Member Function Documentation

bool AStar3D::Node::operator< ( const Node b) const

Definition at line 109 of file astar2.cpp.

References gval, and hval.

bool AStar3D::Node::operator> ( const Node b) const

Definition at line 115 of file astar2.cpp.

References gval, and hval.

Member Data Documentation

bool AStar3D::Node::canStop

Definition at line 68 of file astar2.h.

Referenced by AStar3D::findPath(), PathFinder::getMovementFields(), and AStar3D::initNode().

int AStar3D::Node::enterHeight

Definition at line 67 of file astar2.h.

Referenced by AStar3D::findPath(), and AStar3D::initNode().

AStar3D::DistanceType AStar3D::Node::gval
MapCoordinate3D AStar3D::Node::h
bool AStar3D::Node::hasAttacked

Definition at line 69 of file astar2.h.

Referenced by AStar3D::findPath(), AStar3D::initNode(), and OpenContainer::pushOrUpdate().

AStar3D::DistanceType AStar3D::Node::hval

Definition at line 66 of file astar2.h.

Referenced by AStar3D::findPath(), AStar3D::initNode(), operator<(), operator==(), and operator>().

const Node* AStar3D::Node::previous

The documentation for this struct was generated from the following files: