ScummVM API documentation
iPlayerState Class Reference
Inheritance diagram for iPlayerState:
cPlayerState_Climb cPlayerState_Grab cPlayerState_InteractMode cPlayerState_Message cPlayerState_Move cPlayerState_Normal cPlayerState_Push cPlayerState_Throw cPlayerState_UseItem cPlayerState_WeaponMelee

Public Member Functions

 iPlayerState (cInit *apInit, cPlayer *apPlayer, ePlayerState aType)
 
void InitState (iPlayerState *apPrevState)
 
virtual void OnUpdate (float afTimeStep)
 
virtual void OnPostSceneDraw ()
 
virtual void OnDraw ()
 
virtual void OnStartInteract ()
 
virtual void OnStopInteract ()
 
virtual void OnStartExamine ()
 
virtual void OnStopExamine ()
 
virtual void OnStartHolster ()
 
virtual bool OnJump ()
 
virtual void OnStartRun ()
 
virtual void OnStopRun ()
 
virtual void OnStartCrouch ()
 
virtual void OnStopCrouch ()
 
virtual void OnStartInteractMode ()
 
virtual bool OnStartInventory ()
 
virtual bool OnStartInventoryShortCut (int alNum)
 
virtual bool OnMoveForwards (float afMul, float afTimeStep)
 
virtual bool OnMoveSideways (float afMul, float afTimeStep)
 
virtual bool OnAddYaw (float afVal)
 
virtual bool OnAddPitch (float afVal)
 
virtual void EnterState (iPlayerState *apPrevState)
 
virtual void LeaveState (iPlayerState *apNextState)
 

Public Attributes

ePlayerState mType
 
ePlayerState mPreviuosState
 

Protected Attributes

cInitmpInit
 
cPlayermpPlayer
 

The documentation for this class was generated from the following file: