![]() |
VR-Forces Developer's Guide
|
represents an abstract rotor state. Specialized classes inherited from this are part of the fsm that the rotor states can go through/be in.

Public Member Functions | |
| DtRotorState (DtEntityRotorData *rotorData) | |
| virtual | ~DtRotorState () |
| virtual DtRotorState * | handleEvent (int state) |
| virtual DtRotorState * | update (DtTime timeNow) |
| virtual void | enter (void) |
| virtual void | exit (void) |
Protected Attributes | |
| DtEntityRotorData * | myRotorData |
Static Protected Attributes | |
| static const float | theMaxSpeed |
| static const float | theTimeToFullSpin |
| static const float | theTimeToFullCoolDown |
| static const float | theTimeToSwitchToMotionBlur |
Private Member Functions | |
| DtRotorState ()=delete | |
| DtRotorState (const DtRotorState &rhs)=delete | |
| DtRotorState & | operator= (const DtRotorState &rhs)=delete |
| makVrv::DtRotorState::DtRotorState | ( | DtEntityRotorData * | rotorData | ) |
constructor
|
virtual |
destructor
|
privatedelete |
not allowed
|
privatedelete |
|
privatedelete |
|
virtual |
handle an event (state change). can cause transition to another state.
Reimplemented in makVrv::SpinningDown, makVrv::SpinningUp, makVrv::FullyOn, makVrv::FullyOff, and makVrv::DtNullRotorState.
|
virtual |
update given the current time. can cause transition to another state.
Reimplemented in makVrv::SpinningDown, and makVrv::SpinningUp.
|
virtual |
things to be done on enter.
Reimplemented in makVrv::FullyOn, and makVrv::FullyOff.
|
virtual |
things to be done on exit
|
protected |
|
staticprotected |
the max speed of a rotor (in rpm)
|
staticprotected |
in seconds
|
staticprotected |
in seconds
|
staticprotected |