AI_Actor::StateIsSee Class Reference

#include <AI_Actor.h>

Inheritance diagram for AI_Actor::StateIsSee:

AI_State

List of all members.


Detailed Description

State checks if enemy is visible within sight and FOV.

Actor can include or ignore invisible agents within test.

Public Member Functions

 StateIsSee (ai_index i_index_true, ai_index i_index_false, bool b_invisible=false)
virtual ai_index step (AI_StateMachine::Session *ptr_session)
 Test if any enemy is see.
virtual bool isInterrupt (void) const
 Return false (state is non-final by default).


Constructor & Destructor Documentation

AI_Actor::StateIsSee::StateIsSee ( ai_index  i_index_true,
ai_index  i_index_false,
bool  b_invisible = false 
) [inline]


Member Function Documentation

ai_index AI_Actor::StateIsSee::step ( AI_StateMachine::Session ptr_session  )  [virtual]

Test if any enemy is see.

Implements AI_State.

bool AI_Actor::StateIsSee::isInterrupt ( void   )  const [inline, virtual]

Return false (state is non-final by default).

Reimplemented from AI_State.


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