JNR
aiMobState Class Reference

Creature state adds appropriate percept handles to aiAgent. More...

#include <aiMobState.h>

Inheritance diagram for aiMobState:
aiAgentState laNamedClass laLoadableObj aiMobState_Crawl aiMobState_LavaJumper aiMobState_Ramble aiNPCState_Approach aiNPCState_Dialog aiMobState_Flyer aiMobState_Territorial

Public Member Functions

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

Protected Member Functions

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)
 
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 (unsigned state, M_BOOL global, unsigned id, aiPerceptData data)
 

Protected Attributes

double _dPlayerDistance
 
class laSound_pTouchSound
 
class laSound_pProximitySound
 

Detailed Description

Creature state adds appropriate percept handles to aiAgent.

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

Definition at line 40 of file aiMobState.h.


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