#include <gameevents.h>
Inheritance diagram for MapChange:

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) |
Definition at line 524 of file gameevents.h.
| MapChange::MapChange | ( | int | terrainID_ = -1 |
) | [inline] |
Definition at line 529 of file gameevents.h.
| 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] |
1.5.1