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

MapChange Class Reference

#include <gameevents.h>

Inheritance diagram for MapChange:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 MapChange (int terrainID_=-1)
void readData (tnstream &stream)
void writeData (tnstream &stream)
void setup ()
ASCString getName () const

Protected Member Functions

void fieldOperator (const MapCoordinate &mc)

Constructor & Destructor Documentation

MapChange::MapChange int  terrainID_ = -1  )  [inline]
 

Definition at line 526 of file gameevents.h.


Member Function Documentation

void MapChange::fieldOperator const MapCoordinate mc  )  [protected, virtual]
 

Implements FieldAddressing.

Definition at line 1151 of file gameevents.cpp.

References EventAction::gamemap, GameMap::getField(), terrainTypeRepository, and TerrainType::weather.

ASCString MapChange::getName  )  const [inline, virtual]
 

Implements EventAction.

Definition at line 532 of file gameevents.h.

void MapChange::readData tnstream stream  )  [virtual]
 

Implements EventAction.

Definition at line 1136 of file gameevents.cpp.

References tnstream::readInt(), FieldAddressing::readMapModificationData(), and versionTest().

void MapChange::setup  ) 
 

Reimplemented from FieldAddressing.

Definition at line 1168 of file gameevents.cpp.

References chooseTerrain(), and FieldAddressing::setup().

void MapChange::writeData tnstream stream  )  [virtual]
 

Implements EventAction.

Definition at line 1144 of file gameevents.cpp.

References tnstream::writeInt(), and FieldAddressing::writeMapModificationData().


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