Advanced Strategic Command
Public Member Functions | List of all members
MapCoordinate3D Class Reference

Coordinate on the map including height. More...

#include <typen.h>

Inheritance diagram for MapCoordinate3D:
Inheritance graph
[legend]

Public Member Functions

int getBitmappedHeight () const
 
int getNumericalHeight () const
 
void setNumericalHeight (int nh)
 
 MapCoordinate3D ()
 
 MapCoordinate3D (int _x, int _y, int bitmappedz)
 
bool operator< (const MapCoordinate3D &mc) const
 
 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)
 
ASCString toString (bool coordinates=false) const
 
- Public Member Functions inherited from MapCoordinate
 MapCoordinate ()
 
 MapCoordinate (int _x, int _y)
 
bool operator< (const MapCoordinate &mc) const
 
bool operator== (const MapCoordinate &mc) const
 
bool operator!= (const MapCoordinate &mc) const
 
MapCoordinateoperator+= (const MapCoodinateVector &delta)
 
void write (tnstream &stream) const
 
void read (tnstream &stream)
 
bool valid () const
 
void move (int width, int height)
 
ASCString toString (bool coordinates=false) const
 

Additional Inherited Members

- Public Attributes inherited from MapCoordinate
int x
 
int y
 

Detailed Description

Coordinate on the map including height.

Definition at line 238 of file typen.h.

Constructor & Destructor Documentation

MapCoordinate3D::MapCoordinate3D ( )
inline

Definition at line 245 of file typen.h.

MapCoordinate3D::MapCoordinate3D ( int  _x,
int  _y,
int  bitmappedz 
)
inline

Definition at line 246 of file typen.h.

MapCoordinate3D::MapCoordinate3D ( const MapCoordinate mc,
int  bitmappedHeight 
)
inline

Definition at line 249 of file typen.h.

Member Function Documentation

int MapCoordinate3D::getBitmappedHeight ( ) const
inline
int MapCoordinate3D::getNumericalHeight ( ) const
inline
bool MapCoordinate3D::operator!= ( const MapCoordinate3D mc) const
inline

Definition at line 252 of file typen.h.

References operator==().

bool MapCoordinate3D::operator< ( const MapCoordinate3D mc) const
inline

Definition at line 247 of file typen.h.

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

bool MapCoordinate3D::operator== ( const MapCoordinate3D mc) const
inline

Definition at line 251 of file typen.h.

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

Referenced by operator!=().

void MapCoordinate3D::read ( tnstream stream)
inline
void MapCoordinate3D::setnum ( int  _x,
int  _y,
int  numericalz 
)
inline
void MapCoordinate3D::setNumericalHeight ( int  nh)
inline
ASCString MapCoordinate3D::toString ( bool  coordinates = false) const
void MapCoordinate3D::write ( tnstream stream) const
inline

The documentation for this class was generated from the following files: