Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members   Related Pages  

AStarTile Class Reference

Super IsoBomb. More...

#include <AStarTile.h>

List of all members.

Public Methods

 AStarTile ()
 Constructor.

 AStarTile (int initX, int initY, int initG, int initH, AStarTile *initParent)
 Constructor.

 ~AStarTile ()
 Destructor.

void init (int initX, int initY, int initG, int initH, AStarTile *initParent)
 Initializes the tile.

int getF () const
 Returns the f value of the A* algorithm (fitness).

int getG () const
 Returns the g value of the A* algorithm (goal).

int getH () const
 Returns the h value of the A* algorithm (heuristic).

int getX () const
 Returns the x coordinate of this tile.

int getY () const
 Returns the y coordinate of this tile.

AStarTile * getParent () const
 Returns a pointer to this tile's parent tile.

Point getPoint () const


Detailed Description

Super IsoBomb.

Authors: Jim Clase, Jonathan Hilliker, Jason Winnebeck


Constructor & Destructor Documentation

AStarTile::AStarTile  
 

Constructor.

Authors: Jim Clase, Jonathan Hilliker, Jason Winnebeck

AStarTile::AStarTile int    initX,
int    initY,
int    initG,
int    initH,
AStarTile *    initParent
 

Constructor.

Parameters:
initX  the x coordinate
initY  the y coordinate
initG  the g value in the A* algorithm
initH  the h value in the A* algorithm
initParent  the parent tile

AStarTile::~AStarTile  
 

Destructor.


Member Function Documentation

int AStarTile::getF  
 

Returns the f value of the A* algorithm (fitness).

Returns:
f value of the A* algorithm (fitness)

int AStarTile::getG  
 

Returns the g value of the A* algorithm (goal).

Returns:
g value of the A* algorithm (goal)

int AStarTile::getH  
 

Returns the h value of the A* algorithm (heuristic).

Returns:
h value of the A* algorithm (heuristic)

AStarTile * AStarTile::getParent  
 

Returns a pointer to this tile's parent tile.

Returns:
a pointer to this tile's parent tile

Point AStarTile::getPoint  
 

int AStarTile::getX  
 

Returns the x coordinate of this tile.

Returns:
the x coordinate of this tile.

int AStarTile::getY  
 

Returns the y coordinate of this tile.

Returns:
the y coordinate of this tile.

void AStarTile::init int    initX,
int    initY,
int    initG,
int    initH,
AStarTile *    initParent
 

Initializes the tile.

Parameters:
initX  the x coordinate
initY  the y coordinate
initG  the g value in the A* algorithm
initH  the h value in the A* algorithm
initParent  the parent tile


The documentation for this class was generated from the following files:
Generated on Tue Mar 4 02:29:26 2003 for SuperIsoBomb by doxygen1.2.18