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

Public Member Functions | |
| ChangeBuildingOwner () | |
| void | readData (tnstream &stream) |
| void | writeData (tnstream &stream) |
| void | execute (MapDisplayInterface *md) |
| void | setup () |
| ASCString | getName () const |
Definition at line 667 of file gameevents.h.
| ChangeBuildingOwner::ChangeBuildingOwner | ( | ) | [inline] |
Definition at line 671 of file gameevents.h.
| void ChangeBuildingOwner::readData | ( | tnstream & | stream | ) | [virtual] |
Implements EventAction.
Definition at line 1446 of file gameevents.cpp.
References MapCoordinate::read(), tnstream::readInt(), and versionTest().
| void ChangeBuildingOwner::writeData | ( | tnstream & | stream | ) | [virtual] |
Implements EventAction.
Definition at line 1454 of file gameevents.cpp.
References MapCoordinate::write(), and tnstream::writeInt().
| void ChangeBuildingOwner::execute | ( | MapDisplayInterface * | md | ) | [virtual] |
Implements EventAction.
Definition at line 1468 of file gameevents.cpp.
References MapField::building, Building::convert(), evaluateviewcalculation(), EventAction::gamemap, GameMap::getField(), and mapChanged.
| void ChangeBuildingOwner::setup | ( | ) | [virtual] |
Implements EventAction.
Definition at line 1462 of file gameevents.cpp.
References getid(), getxy_building(), MapCoordinate::x, and MapCoordinate::y.
| ASCString ChangeBuildingOwner::getName | ( | ) | const [inline, virtual] |
1.5.1