AddObject Class Reference

#include <gameevents.h>

Inheritance diagram for AddObject:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 AddObject ()
 AddObject (int objectID_)
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 538 of file gameevents.h.


Constructor & Destructor Documentation

AddObject::AddObject (  )  [inline]

Definition at line 543 of file gameevents.h.

AddObject::AddObject ( int  objectID_  )  [inline]

Definition at line 545 of file gameevents.h.


Member Function Documentation

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

Implements FieldAddressing.

Definition at line 1193 of file gameevents.cpp.

References MapField::addobject(), EventAction::gamemap, GameMap::getField(), objectTypeRepository, and MapField::setparams().

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

Implements EventAction.

Definition at line 1177 of file gameevents.cpp.

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

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

Implements EventAction.

Definition at line 1185 of file gameevents.cpp.

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

void AddObject::setup (  ) 

Reimplemented from FieldAddressing.

Definition at line 1206 of file gameevents.cpp.

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

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

Implements EventAction.

Definition at line 551 of file gameevents.h.


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