#include <LoiterProcess.h>
Inheritance diagram for LoiterProcess:
Public Member Functions | |
LoiterProcess () | |
LoiterProcess (Actor *actor, sint32 count=-1) | |
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 | |
sint32 | count |
Definition at line 26 of file LoiterProcess.h.
LoiterProcess::LoiterProcess | ( | ) |
Definition at line 34 of file LoiterProcess.cpp.
Definition at line 39 of file LoiterProcess.cpp.
References count, Object::getObjId(), Process::item_num, and Process::type.
LoiterProcess::ENABLE_RUNTIME_CLASSTYPE | ( | ) |
Reimplemented from Process.
bool LoiterProcess::loadData | ( | IDataSource * | ids, | |
uint32 | version | |||
) |
load Process data
Reimplemented from Process.
Definition at line 117 of file LoiterProcess.cpp.
References count, and Process::loadData().
bool LoiterProcess::run | ( | const uint32 | framenum | ) | [virtual] |
Implements Process.
Definition at line 48 of file LoiterProcess.cpp.
References Kernel::addProcess(), count, Actor::doAnim(), Kernel::get_instance(), getActor(), Item::getLocation(), Kernel::getProcess(), Actor::hasAnim(), Animation::idle1, Animation::idle2, Actor::isDead(), Process::item_num, Process::terminate(), Process::waitFor(), x, and y.
void LoiterProcess::saveData | ( | ODataSource * | ods | ) | [protected, virtual] |
save the Process data
Reimplemented from Process.
Definition at line 110 of file LoiterProcess.cpp.
References count, Process::saveData(), and ODataSource::write4().
sint32 LoiterProcess::count [protected] |
Definition at line 41 of file LoiterProcess.h.
Referenced by loadData(), LoiterProcess(), run(), and saveData().