ChangeBuildingOwner Class Reference

#include <gameevents.h>

Inheritance diagram for ChangeBuildingOwner:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 ChangeBuildingOwner ()
void readData (tnstream &stream)
void writeData (tnstream &stream)
void execute (MapDisplayInterface *md)
void setup ()
ASCString getName () const

Detailed Description

Definition at line 667 of file gameevents.h.


Constructor & Destructor Documentation

ChangeBuildingOwner::ChangeBuildingOwner (  )  [inline]

Definition at line 671 of file gameevents.h.


Member Function Documentation

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]

Implements EventAction.

Definition at line 679 of file gameevents.h.


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