MetaTile Class Reference

#include <map.hpp>

List of all members.


Detailed Description

A meta tile stores additional information about a location on a tile map.

This is information that doesn't need to be repeated for each tile in each layer of the map.

Definition at line 45 of file map.hpp.

Public Member Functions

 MetaTile ()
 Constructor.

Public Attributes

int Fcost
 Estimation of total path cost.
int Gcost
 Cost from start to this location.
int Hcost
 Estimated cost to goal.
int whichList
 No list, open list or closed list.
int parentX
 X coordinate of parent tile.
int parentY
 Y coordinate of parent tile.
bool walkable
 Can beings walk on this tile.


Constructor & Destructor Documentation

MetaTile::MetaTile  ) 
 

Constructor.

Definition at line 28 of file map.cpp.


Member Data Documentation

int MetaTile::Fcost
 

Estimation of total path cost.

Definition at line 54 of file map.hpp.

int MetaTile::Gcost
 

Cost from start to this location.

Definition at line 55 of file map.hpp.

int MetaTile::Hcost
 

Estimated cost to goal.

Definition at line 56 of file map.hpp.

int MetaTile::parentX
 

X coordinate of parent tile.

Definition at line 58 of file map.hpp.

int MetaTile::parentY
 

Y coordinate of parent tile.

Definition at line 59 of file map.hpp.

bool MetaTile::walkable
 

Can beings walk on this tile.

Definition at line 60 of file map.hpp.

int MetaTile::whichList
 

No list, open list or closed list.

Definition at line 57 of file map.hpp.


The documentation for this class was generated from the following files:
Generated on Fri Mar 30 15:39:18 2007 for TMW Server by  doxygen 1.3.9.1