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

MapCoordinate3D Class Reference

Coordinate on the map including height. More...

#include <typen.h>

Inheritance diagram for MapCoordinate3D:

Inheritance graph
[legend]
List of all members.

Public Member Functions

int getBitmappedHeight () const
int getNumericalHeight () const
void setNumericalHeight (int nh)
 MapCoordinate3D ()
 MapCoordinate3D (int _x, int _y, int bitmappedz)
 MapCoordinate3D (const MapCoordinate &mc, int bitmappedHeight)
void setnum (int _x, int _y, int numericalz)
bool operator== (const MapCoordinate3D &mc) const
bool operator!= (const MapCoordinate3D &mc) const
void write (tnstream &stream) const
void read (tnstream &stream)

Detailed Description

Coordinate on the map including height.

Definition at line 203 of file typen.h.


Constructor & Destructor Documentation

MapCoordinate3D::MapCoordinate3D  )  [inline]
 

Definition at line 210 of file typen.h.

MapCoordinate3D::MapCoordinate3D int  _x,
int  _y,
int  bitmappedz
[inline]
 

Definition at line 211 of file typen.h.

MapCoordinate3D::MapCoordinate3D const MapCoordinate mc,
int  bitmappedHeight
[inline]
 

Definition at line 213 of file typen.h.


Member Function Documentation

int MapCoordinate3D::getBitmappedHeight  )  const [inline]
 

Definition at line 206 of file typen.h.

Referenced by calcMoveMalus(), tsearchreactionfireingunits::checkfield(), MapDisplayPG::displayUnitMovement(), AStar3D::dist(), AStar3D::findPath(), AStar3D::getMoveCost(), and AI::showFieldInformation().

int MapCoordinate3D::getNumericalHeight  )  const [inline]
 

Definition at line 207 of file typen.h.

Referenced by calcMoveMalus(), tsearchreactionfireingunits::checkfield(), PG_MapDisplay::displayMovingUnit(), MapDisplayPG::displayUnitMovement(), AStar3D::dist(), AStar3D::findPath(), AStar3D::getPosDir(), AStar3D::getPosHHop(), AStar3D::PathPoint::getRealHeight(), tsearchreactionfireingunits::init(), EditAiParam::init(), and AiParameter::write().

bool MapCoordinate3D::operator!= const MapCoordinate3D mc  )  const [inline]
 

Definition at line 216 of file typen.h.

References MapCoordinate::x, MapCoordinate::y, and z.

bool MapCoordinate3D::operator== const MapCoordinate3D mc  )  const [inline]
 

Definition at line 215 of file typen.h.

References MapCoordinate::x, MapCoordinate::y, and z.

void MapCoordinate3D::read tnstream stream  )  [inline]
 

Reimplemented from MapCoordinate.

Definition at line 218 of file typen.h.

References MapCoordinate::read(), and tnstream::readInt().

void MapCoordinate3D::setnum int  _x,
int  _y,
int  numericalz
[inline]
 

Definition at line 214 of file typen.h.

References MapCoordinate::x, and MapCoordinate::y.

Referenced by EditAiParam::buttonpressed(), ChangeVehicleHeight::execute(), VehicleMovement::execute(), BaseVehicleMovement::execute(), AStar3D::findPath(), Vehicle::getPosition3D(), Building::getPosition3D(), AStar3D::PathPoint::getRealPos(), BaseVehicleMovement::moveunitxy(), AiParameter::read(), and AiParameter::resetTask().

void MapCoordinate3D::setNumericalHeight int  nh  )  [inline]
 

Definition at line 208 of file typen.h.

Referenced by PG_MapDisplay::displayMovingUnit().

void MapCoordinate3D::write tnstream stream  )  const [inline]
 

Reimplemented from MapCoordinate.

Definition at line 217 of file typen.h.

References MapCoordinate::write().


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