#include <MissileProcess.h>
Inheritance diagram for MissileProcess:
Public Member Functions | |
MissileProcess () | |
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 | from_x |
sint32 | from_y |
sint32 | from_z |
sint32 | to_x |
sint32 | to_y |
sint32 | to_z |
int | speed |
bool | curve |
int | currentpos |
Definition at line 27 of file MissileProcess.h.
MissileProcess::MissileProcess | ( | ) |
Definition at line 38 of file MissileProcess.cpp.
MissileProcess::ENABLE_RUNTIME_CLASSTYPE | ( | ) |
Reimplemented from Process.
bool MissileProcess::loadData | ( | IDataSource * | ids, | |
uint32 | version | |||
) |
load Process data
Reimplemented from Process.
Definition at line 99 of file MissileProcess.cpp.
References currentpos, curve, from_x, from_y, from_z, Process::loadData(), speed, to_x, to_y, and to_z.
bool MissileProcess::run | ( | const uint32 | framenum | ) | [virtual] |
Implements Process.
Definition at line 44 of file MissileProcess.cpp.
References Item::collideMove(), currentpos, curve, Item::fall(), from_x, from_y, from_z, getItem(), Process::item_num, speed, Process::terminate(), to_x, to_y, to_z, x, and y.
void MissileProcess::saveData | ( | ODataSource * | ods | ) | [protected, virtual] |
save the Process data
Reimplemented from Process.
Definition at line 81 of file MissileProcess.cpp.
References currentpos, curve, from_x, from_y, from_z, Process::saveData(), speed, to_x, to_y, to_z, ODataSource::write1(), and ODataSource::write4().
int MissileProcess::currentpos [protected] |
bool MissileProcess::curve [protected] |
sint32 MissileProcess::from_x [protected] |
sint32 MissileProcess::from_y [protected] |
sint32 MissileProcess::from_z [protected] |
int MissileProcess::speed [protected] |
sint32 MissileProcess::to_x [protected] |
sint32 MissileProcess::to_y [protected] |
sint32 MissileProcess::to_z [protected] |