AStar::Node Struct Reference

#include <astar2.h>

List of all members.

Public Member Functions

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

Public Attributes

HexCoord h
int gval
int hval


Detailed Description

Definition at line 48 of file astar2.h.


Constructor & Destructor Documentation

AStar::Node::Node (  )  [inline]

Definition at line 52 of file astar2.h.


Member Function Documentation

bool AStar::Node::operator< ( const Node a  )  const

Definition at line 27 of file astar2.cpp.

References gval, and hval.

bool AStar::Node::operator> ( const Node a  )  const

Definition at line 34 of file astar2.cpp.

References gval, and hval.


Member Data Documentation

HexCoord AStar::Node::h

Definition at line 49 of file astar2.h.

Referenced by AStar::findPath(), and operator==().

int AStar::Node::gval

Definition at line 50 of file astar2.h.

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

int AStar::Node::hval

Definition at line 51 of file astar2.h.

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


The documentation for this struct was generated from the following files:
Generated on Mon May 21 01:46:20 2012 for Advanced Strategic Command by  doxygen 1.5.1