#include <SwayClientUpdate.h>
Inherits ClientUpdateModule.
Public Member Functions | |
| SwayClientUpdate (Thing *thing, const ModuleData *moduleData) | |
| virtual void | clientUpdate (void) |
| the client update callback | |
| void | stopSway (void) |
Public Member Functions inherited from ClientUpdateModule | |
| ClientUpdateModule (Thing *thing, const ModuleData *moduleData) | |
Public Member Functions inherited from DrawableModule | |
| DrawableModule (Thing *thing, const ModuleData *moduleData) | |
| < this abstract class needs memory pool hooks | |
Public Member Functions inherited from Module | |
| Module (const ModuleData *moduleData) | |
| < this abstract class needs memory pool hooks | |
| virtual NameKeyType | getModuleNameKey () const =0 |
| NameKeyType | getModuleTagNameKey () const |
| virtual void | onObjectCreated () |
| virtual void | onDrawableBoundToObject () |
| virtual void | preloadAssets (TimeOfDay timeOfDay) |
| preload any assets we might have for this time of day | |
| virtual void | onDelete (void) |
Public Member Functions inherited from MemoryPoolObject | |
| void | deleteInstance () |
Public Member Functions inherited from Snapshot | |
| Snapshot (void) | |
| ~Snapshot (void) | |
Protected Member Functions | |
| void | updateSway (void) |
Protected Member Functions inherited from DrawableModule | |
| Drawable * | getDrawable () |
| const Drawable * | getDrawable () const |
| virtual void | crc (Xfer *xfer) |
| virtual void | xfer (Xfer *xfer) |
| virtual void | loadPostProcess (void) |
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 | |
| Real | m_curValue |
| Real | m_curAngle |
| Real | m_curDelta |
| Real | m_curAngleLimit |
| Real | m_leanAngle |
| Angle that the tree leans away from the wind. | |
| Short | m_curVersion |
| Bool | m_swaying |
| Bool | m_unused |
Additional Inherited Members | |
Static Public Member Functions inherited from ClientUpdateModule | |
| static ModuleType | getModuleType () |
| static Int | getInterfaceMask () |
Static Public Member Functions inherited from Module | |
| static ModuleData * | friend_newModuleData (INI *ini) |
The tree way client update module
Definition at line 44 of file SwayClientUpdate.h.
| SwayClientUpdate::SwayClientUpdate | ( | Thing * | thing, |
| const ModuleData * | moduleData ) |
Definition at line 54 of file SwayClientUpdate.cpp.
|
virtual |
the client update callback
The client update callback.
Implements ClientUpdateModule.
Definition at line 101 of file SwayClientUpdate.cpp.
|
inline |
Definition at line 58 of file SwayClientUpdate.h.
|
protected |
Definition at line 81 of file SwayClientUpdate.cpp.
|
protected |
Definition at line 63 of file SwayClientUpdate.h.
|
protected |
Definition at line 65 of file SwayClientUpdate.h.
|
protected |
Definition at line 64 of file SwayClientUpdate.h.
|
protected |
Definition at line 62 of file SwayClientUpdate.h.
|
protected |
Definition at line 67 of file SwayClientUpdate.h.
|
protected |
Angle that the tree leans away from the wind.
Definition at line 66 of file SwayClientUpdate.h.
|
protected |
Definition at line 68 of file SwayClientUpdate.h.
|
protected |
Definition at line 69 of file SwayClientUpdate.h.