ScummVM API documentation
iGameEnemyState_Dog_Base Class Reference
Inheritance diagram for iGameEnemyState_Dog_Base:
iGameEnemyState cGameEnemyState_Dog_Attack cGameEnemyState_Dog_Attention cGameEnemyState_Dog_BreakDoor cGameEnemyState_Dog_CallBackup cGameEnemyState_Dog_Dead cGameEnemyState_Dog_Eat cGameEnemyState_Dog_Flee cGameEnemyState_Dog_Hunt cGameEnemyState_Dog_Idle cGameEnemyState_Dog_Investigate cGameEnemyState_Dog_KnockDown cGameEnemyState_Dog_MoveTo cGameEnemyState_Dog_Patrol

Public Member Functions

 iGameEnemyState_Dog_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_DogmpEnemyDog
 
- Protected Attributes inherited from iGameEnemyState
int mlId
 
cInitmpInit
 
cPlayermpPlayer
 
iGameEnemympEnemy
 
cCharacterMovempMover
 
int mlPreviousState
 

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