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)

Detailed Description

Definition at line 524 of file gameevents.h.


Constructor & Destructor Documentation

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

Definition at line 529 of file gameevents.h.


Member Function Documentation

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

Implements FieldAddressing.

Definition at line 1152 of file gameevents.cpp.

References EventAction::gamemap, GameMap::getField(), MapField::getWeather(), MapField::setparams(), terrainTypeRepository, MapField::typ, and TerrainType::weather.

void MapChange::readData ( tnstream stream  )  [virtual]

Implements EventAction.

Definition at line 1137 of file gameevents.cpp.

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

void MapChange::writeData ( tnstream stream  )  [virtual]

Implements EventAction.

Definition at line 1145 of file gameevents.cpp.

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

void MapChange::setup (  ) 

Reimplemented from FieldAddressing.

Definition at line 1169 of file gameevents.cpp.

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

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

Implements EventAction.

Definition at line 535 of file gameevents.h.


The documentation for this class was generated from the following files:
Generated on Mon May 21 01:46:58 2012 for Advanced Strategic Command by  doxygen 1.5.1