MissileProcess Class Reference

#include <MissileProcess.h>

Inheritance diagram for MissileProcess:

Process List of all members.

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

Detailed Description

Definition at line 27 of file MissileProcess.h.


Constructor & Destructor Documentation

MissileProcess::MissileProcess (  ) 

Definition at line 38 of file MissileProcess.cpp.


Member Function Documentation

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().


Member Data Documentation

int MissileProcess::currentpos [protected]

Definition at line 47 of file MissileProcess.h.

Referenced by loadData(), run(), and saveData().

bool MissileProcess::curve [protected]

Definition at line 45 of file MissileProcess.h.

Referenced by loadData(), run(), and saveData().

sint32 MissileProcess::from_x [protected]

Definition at line 41 of file MissileProcess.h.

Referenced by loadData(), run(), and saveData().

sint32 MissileProcess::from_y [protected]

Definition at line 41 of file MissileProcess.h.

Referenced by loadData(), run(), and saveData().

sint32 MissileProcess::from_z [protected]

Definition at line 41 of file MissileProcess.h.

Referenced by loadData(), run(), and saveData().

int MissileProcess::speed [protected]

Definition at line 44 of file MissileProcess.h.

Referenced by loadData(), run(), and saveData().

sint32 MissileProcess::to_x [protected]

Definition at line 42 of file MissileProcess.h.

Referenced by loadData(), run(), and saveData().

sint32 MissileProcess::to_y [protected]

Definition at line 42 of file MissileProcess.h.

Referenced by loadData(), run(), and saveData().

sint32 MissileProcess::to_z [protected]

Definition at line 42 of file MissileProcess.h.

Referenced by loadData(), run(), and saveData().


The documentation for this class was generated from the following files:
Generated on Fri Jul 27 22:29:37 2007 for pentagram by  doxygen 1.4.7