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

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) |
Definition at line 538 of file gameevents.h.
| AddObject::AddObject | ( | ) | [inline] |
Definition at line 543 of file gameevents.h.
| AddObject::AddObject | ( | int | objectID_ | ) | [inline] |
Definition at line 545 of file gameevents.h.
| 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] |
1.5.1