aiMobState_Territorial Class Reference

Territiorial state. More...

#include <aiMobState_Territorial.h>

Inheritance diagram for aiMobState_Territorial:
aiMobState_Ramble aiMobState aiAgentState laNamedClass laLoadableObj

Public Member Functions

virtual void load (laFileParser *fp)
virtual void perceive_InTerritory (unsigned state)
virtual void perceive_InRange (unsigned state)
virtual void perceive_active (std::string strID_Old)
- Public Member Functions inherited from aiMobState_Ramble
virtual void perceive_inactive (std::string strID_New)
virtual void perceive (unsigned state, M_BOOL global, unsigned id, aiPerceptData data)
- 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.

Additional Inherited Members

- Protected Member Functions inherited from aiMobState_Ramble
M_BOOL _obstacle_infront ()
M_BOOL _obstacle_above ()
M_BOOL _chasm_infront ()
int _update_direction (int dir)
- 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)
virtual void perceive_Touched (unsigned state)
virtual void perceive_UnderAttack (unsigned state)
- Protected Attributes inherited from aiMobState_Ramble
M_BOOL _bJumpy
M_BOOL _bTrapSenitive
- Protected Attributes inherited from aiMobState
double _dPlayerDistance
class laSound_pTouchSound
class laSound_pProximitySound

Detailed Description

Territiorial state.

Monster AI that chases the player when he enters its territory and initiates attacks

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

Definition at line 43 of file aiMobState_Territorial.h.

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