#include <TeleportToEggProcess.h>
Inheritance diagram for TeleportToEggProcess:
Public Member Functions | |
TeleportToEggProcess () | |
TeleportToEggProcess (int mapnum_, int teleport_id_) | |
ENABLE_RUNTIME_CLASSTYPE () | |
virtual bool | run (const uint32 framenum) |
bool | loadData (IDataSource *ids, uint32 version) |
Protected Member Functions | |
virtual void | saveData (ODataSource *ods) |
Protected Attributes | |
int | mapnum |
int | teleport_id |
Definition at line 24 of file TeleportToEggProcess.h.
TeleportToEggProcess::TeleportToEggProcess | ( | ) |
Definition at line 30 of file TeleportToEggProcess.cpp.
TeleportToEggProcess::TeleportToEggProcess | ( | int | mapnum_, | |
int | teleport_id_ | |||
) |
TeleportToEggProcess::ENABLE_RUNTIME_CLASSTYPE | ( | ) |
Reimplemented from Process.
bool TeleportToEggProcess::loadData | ( | IDataSource * | ids, | |
uint32 | version | |||
) |
load Process data
Reimplemented from Process.
Definition at line 61 of file TeleportToEggProcess.cpp.
References Process::loadData(), mapnum, and teleport_id.
bool TeleportToEggProcess::run | ( | const uint32 | framenum | ) | [virtual] |
Implements Process.
Definition at line 43 of file TeleportToEggProcess.cpp.
References getMainActor(), mapnum, MainActor::teleport(), teleport_id, and Process::terminate().
void TeleportToEggProcess::saveData | ( | ODataSource * | ods | ) | [protected, virtual] |
save the Process data
Reimplemented from Process.
Definition at line 53 of file TeleportToEggProcess.cpp.
References mapnum, Process::saveData(), teleport_id, and ODataSource::write4().
int TeleportToEggProcess::mapnum [protected] |
Definition at line 40 of file TeleportToEggProcess.h.
Referenced by loadData(), run(), and saveData().
int TeleportToEggProcess::teleport_id [protected] |
Definition at line 41 of file TeleportToEggProcess.h.
Referenced by loadData(), run(), and saveData().