#include <PointDefenseLaserUpdate.h>
Inherits UpdateModule.
Protected Attributes | |
| ObjectID | m_bestTargetID |
| Bool | m_inRange |
| Int | m_nextScanFrames |
| Int | m_nextShotAvailableInFrames |
Additional Inherited Members | |
Static Public Member Functions inherited from UpdateModule | |
| static Int | getInterfaceMask () |
Static Public Member Functions inherited from BehaviorModule | |
| static Int | getInterfaceMask () |
| static ModuleType | getModuleType () |
Static Public Member Functions inherited from Module | |
| static ModuleData * | friend_newModuleData (INI *ini) |
Protected Member Functions inherited from UpdateModule | |
| void | setWakeFrame (Object *obj, UpdateSleepTime wakeDelay) |
| UpdateSleepTime | getWakeFrame () const |
| virtual SleepyUpdatePhase | getUpdatePhase () const |
| UpdateSleepTime | frameToSleepTime (UnsignedInt frame1, UnsignedInt frame2=FOREVER, UnsignedInt frame3=FOREVER, UnsignedInt frame4=FOREVER) |
Protected Member Functions inherited from BehaviorModule | |
| virtual void | crc (Xfer *xfer) |
| virtual void | xfer (Xfer *xfer) |
| virtual void | loadPostProcess (void) |
Protected Member Functions inherited from ObjectModule | |
| Object * | getObject () |
| const Object * | getObject () const |
Protected Member Functions inherited from Module | |
| const ModuleData * | getModuleData () const |
Protected Member Functions inherited from MemoryPoolObject | |
| virtual | ~MemoryPoolObject () |
| void * | operator new (size_t s) |
| void | operator delete (void *p) |
| virtual MemoryPool * | getObjectMemoryPool ()=0 |
The default update module
Definition at line 66 of file PointDefenseLaserUpdate.h.
| PointDefenseLaserUpdate::PointDefenseLaserUpdate | ( | Thing * | thing, |
| const ModuleData * | moduleData ) |
Definition at line 79 of file PointDefenseLaserUpdate.cpp.
| void PointDefenseLaserUpdate::fireWhenReady | ( | ) |
Definition at line 158 of file PointDefenseLaserUpdate.cpp.
|
virtual |
this is called after all the Modules for a given Thing are created; it allows Modules to resolve any inter-Module dependencies.
Reimplemented from Module.
Definition at line 97 of file PointDefenseLaserUpdate.cpp.
| Object * PointDefenseLaserUpdate::scanClosestTarget | ( | ) |
Definition at line 241 of file PointDefenseLaserUpdate.cpp.
|
virtual |
The update callback.
Implements UpdateModule.
Definition at line 123 of file PointDefenseLaserUpdate.cpp.
|
protected |
Definition at line 85 of file PointDefenseLaserUpdate.h.
|
protected |
Definition at line 86 of file PointDefenseLaserUpdate.h.
|
protected |
Definition at line 87 of file PointDefenseLaserUpdate.h.
|
protected |
Definition at line 88 of file PointDefenseLaserUpdate.h.