Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

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)

Constructor & Destructor Documentation

AddObject::AddObject  )  [inline]
 

Definition at line 540 of file gameevents.h.

AddObject::AddObject int  objectID_  )  [inline]
 

Definition at line 542 of file gameevents.h.


Member Function Documentation

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

Implements FieldAddressing.

Definition at line 1192 of file gameevents.cpp.

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

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

Implements EventAction.

Definition at line 548 of file gameevents.h.

void AddObject::readData tnstream stream  )  [virtual]
 

Implements EventAction.

Definition at line 1176 of file gameevents.cpp.

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

void AddObject::setup  ) 
 

Reimplemented from FieldAddressing.

Definition at line 1205 of file gameevents.cpp.

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

void AddObject::writeData tnstream stream  )  [virtual]
 

Implements EventAction.

Definition at line 1184 of file gameevents.cpp.

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


The documentation for this class was generated from the following files:
Generated on Tue Jun 24 02:15:55 2008 for Advanced Strategic Command by  doxygen 1.4.2