Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

AStar::HexCoord Struct Reference

A hexagonal Coordinate. This structure is used instead of MapCoordinate to reduce the amount of modifications to Amits path finding code. More...

#include <astar2.h>

List of all members.

Public Member Functions

 HexCoord ()
 HexCoord (int m_, int n_)
 ~HexCoord ()

Public Attributes

int m
int n


Detailed Description

A hexagonal Coordinate. This structure is used instead of MapCoordinate to reduce the amount of modifications to Amits path finding code.

Definition at line 41 of file astar2.h.


Constructor & Destructor Documentation

AStar::HexCoord::HexCoord  )  [inline]
 

Definition at line 43 of file astar2.h.

AStar::HexCoord::HexCoord int  m_,
int  n_
[inline]
 

Definition at line 44 of file astar2.h.

AStar::HexCoord::~HexCoord  )  [inline]
 

Definition at line 45 of file astar2.h.


Member Data Documentation

int AStar::HexCoord::m
 

Definition at line 42 of file astar2.h.

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

int AStar::HexCoord::n
 

Definition at line 42 of file astar2.h.

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


The documentation for this struct was generated from the following file:
Generated on Tue Jun 24 02:16:14 2008 for Advanced Strategic Command by  doxygen 1.4.2