#include <OCLUpdate.h>
Inherits UpdateModule.
Protected Member Functions | |
| Bool | shouldCreate () |
| void | setNextCreationFrame () |
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 |
Protected Attributes | |
| UnsignedInt | m_nextCreationFrame |
| UnsignedInt | m_timerStartedFrame |
| Bool | m_isFactionNeutral |
| Color | m_currentPlayerColor |
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) |
Definition at line 70 of file OCLUpdate.h.
| OCLUpdate::OCLUpdate | ( | Thing * | thing, |
| const ModuleData * | moduleData ) |
Definition at line 108 of file OCLUpdate.cpp.
| Real OCLUpdate::getCountdownPercent | ( | ) | const |
goes from 0% to 100%
Definition at line 254 of file OCLUpdate.cpp.
|
inlinevirtual |
Implements UpdateModuleInterface.
Definition at line 86 of file OCLUpdate.h.
| UnsignedInt OCLUpdate::getRemainingFrames | ( | ) | const |
For feedback display.
Definition at line 263 of file OCLUpdate.cpp.
| void OCLUpdate::resetTimer | ( | ) |
added for sabotage purposes.
Definition at line 223 of file OCLUpdate.cpp.
|
protected |
Definition at line 243 of file OCLUpdate.cpp.
|
protected |
Definition at line 230 of file OCLUpdate.cpp.
|
virtual |
Implements UpdateModule.
Definition at line 124 of file OCLUpdate.cpp.
|
protected |
Definition at line 93 of file OCLUpdate.h.
|
protected |
Definition at line 92 of file OCLUpdate.h.
|
protected |
Definition at line 90 of file OCLUpdate.h.
|
protected |
Definition at line 91 of file OCLUpdate.h.