JNR
aiNPCState_Approach Class Reference

Active (interactive) object. More...

#include <aiAOState.h>

Inheritance diagram for aiNPCState_Approach:
aiMobState aiAgentState laNamedClass laLoadableObj

Public Member Functions

virtual void load (laFileParser *fp)
 
- Public Member Functions inherited from aiAgentState
aiControllerself ()
 
aiControllerplayer ()
 
class aiAgentagent ()
 
class laStagestage ()
 
- Public Member Functions inherited from laNamedClass
virtual std::string name ()=0
 Abstract naming method.
 
virtual laNamedClassinstantiate ()=0
 Abstract instantiate method.
 

Protected Member Functions

virtual void perceive_InTerritory (unsigned state)
 
virtual void perceive_InRange (unsigned state)
 
virtual void perceive_Touched (unsigned state)
 
virtual void perceive_UnderAttack (unsigned state)
 
virtual void perceive_active (std::string strID_Old)
 
virtual void perceive_inactive (std::string strID_New)
 
virtual void perceive (unsigned state, M_BOOL global, unsigned id, aiPerceptData data)
 
- Protected Member Functions inherited from aiMobState
void _select_creature (M_BOOL on=M_TRUE)
 
void _spawn_crystal (laPoint3 pos)
 
M_BOOL _within_left_range ()
 
M_BOOL _within_right_range ()
 
virtual void perceive_Distance (double distance)
 

Protected Attributes

laNPCDialog dialog
 
laSoundpSound_SeePlayer
 
M_BOOL bPlayerDetected
 
- Protected Attributes inherited from aiMobState
double _dPlayerDistance
 
class laSound_pTouchSound
 
class laSound_pProximitySound
 

Detailed Description

Active (interactive) object.

Approach-player state.

Author
Copyright (C) 2007-2013 Atanas Laskov, latan.nosp@m.as@g.nosp@m.mail..nosp@m.com

Definition at line 42 of file aiNPCState_Approach.h.


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