AI_Actor::StateIsHear Class Reference

#include <AI_Actor.h>

Inheritance diagram for AI_Actor::StateIsHear:


List of all members.

Detailed Description

State check if enemy is in earshot.

Actor is concentrating for an enemy that was once heard. Once the enemy was heard then the actor's earshot is double sized for this enemy.

Public Member Functions

 StateIsHear (ai_index i_index_true, ai_index i_index_false)
virtual ai_index step (AI_StateMachine::Session *ptr_session)
virtual bool isInterrupt (void) const
 Return false (state is non-final by default).

Constructor & Destructor Documentation

AI_Actor::StateIsHear::StateIsHear ( ai_index  i_index_true,
ai_index  i_index_false 
) [inline]

Member Function Documentation

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

Implements AI_State.

bool AI_Actor::StateIsHear::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: