ScummVM API documentation
iGameEnemyState_Worm_Base Class Reference
Inheritance diagram for iGameEnemyState_Worm_Base:
iGameEnemyState cGameEnemyState_Worm_Dead cGameEnemyState_Worm_Hunt cGameEnemyState_Worm_Idle

Public Member Functions

 iGameEnemyState_Worm_Base (int alId, cInit *apInit, iGameEnemy *apEnemy)
 
virtual void OnSeePlayer (const cVector3f &avPosition, float afChance)
 
virtual bool OnHearNoise (const cVector3f &avPosition, float afVolume)
 
virtual void OnTakeHit (float afDamage)
 
virtual void OnDeath (float afDamage)
 
virtual void OnFlashlight (const cVector3f &avPosition)
 
virtual void OnAnimationOver (const tString &asAnimName)
 
virtual void OnDraw ()
 
virtual void OnPostSceneDraw ()
 
- Public Member Functions inherited from iGameEnemyState
 iGameEnemyState (int alId, cInit *apInit, iGameEnemy *apEnemy)
 
virtual void OnEnterState (iGameEnemyState *apPrevState)=0
 
virtual void OnLeaveState (iGameEnemyState *apNextState)=0
 
virtual void OnUpdate (float afTimeStep)=0
 
void SetPreviousState (int alX)
 
int GetPreviousState ()
 
int GetId ()
 

Protected Attributes

cGameEnemy_WormmpEnemyWorm
 
- Protected Attributes inherited from iGameEnemyState
int mlId
 
cInitmpInit
 
cPlayermpPlayer
 
iGameEnemympEnemy
 
cCharacterMovempMover
 
int mlPreviousState
 

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