#include <typen.h>
Inheritance diagram for MapCoordinate:

Public Member Functions | |
| MapCoordinate () | |
| MapCoordinate (int _x, int _y) | |
| bool | operator< (const MapCoordinate &mc) const |
| bool | operator== (const MapCoordinate &mc) const |
| bool | operator!= (const MapCoordinate &mc) const |
| void | write (tnstream &stream) const |
| void | read (tnstream &stream) |
| bool | valid () const |
| void | move (int width, int height) |
| ASCString | toString () const |
Public Attributes | |
| int | x |
| int | y |
Definition at line 168 of file typen.h.
|
|
|
|
||||||||||||
|
|
|
||||||||||||
|
Definition at line 273 of file typen.cpp. Referenced by WeatherField::move(), and WeatherArea::update(). |
|
|
|
|
|
|
|
|
|
|
|
Reimplemented in MapCoordinate3D. Definition at line 178 of file typen.h. References fatalError(), x, and y. Referenced by MapCoordinate3D::read(), GameMap::read(), AI::read(), AddResources::readData(), AddProductionCapability::readData(), ChangeBuildingOwner::readData(), ChangeBuildingDamage::readData(), and PositionTrigger::readData(). |
|
|
Definition at line 278 of file typen.cpp. References ASCString::format(), x, and y. Referenced by resourceAnalysis(). |
|
|
|
Reimplemented in MapCoordinate3D. Definition at line 177 of file typen.h. References tnstream::writeInt(), x, and y. Referenced by MapCoordinate3D::write(), GameMap::write(), AddResources::writeData(), AddProductionCapability::writeData(), ChangeBuildingOwner::writeData(), ChangeBuildingDamage::writeData(), and PositionTrigger::writeData(). |
|
|
1.4.2