Emergency 20 Dokumentation  4.2.0
qsf::ai::ApproachedSpecialStateCallback Class Referenceabstract

#include <ApproachedSpecialStateCallback.h>

Inheritance diagram for qsf::ai::ApproachedSpecialStateCallback:
em5::AiSpecialSteeringStateCallback

Public Types

enum  Reaction { NONE, COME_TO_HALT, STOP_IMMEDIATELY }
 

Public Member Functions

virtual ~ApproachedSpecialStateCallback ()
 
virtual Reaction onEntityApproachesNode (Entity &entity, const worldElement::State &state, UnsignedFloat distance)=0
 
virtual Reaction onEntityApproachesArea (Entity &entity, const worldElement::State &state, UnsignedFloat distance)=0
 
virtual Reaction onEntityInCurrentArea (Entity &entity, const worldElement::State &state)=0
 

Member Enumeration Documentation

Enumerator
NONE 
COME_TO_HALT 
STOP_IMMEDIATELY 

Constructor & Destructor Documentation

qsf::ai::ApproachedSpecialStateCallback::~ApproachedSpecialStateCallback ( )
inlinevirtual

Member Function Documentation

virtual Reaction qsf::ai::ApproachedSpecialStateCallback::onEntityApproachesArea ( Entity entity,
const worldElement::State state,
UnsignedFloat  distance 
)
pure virtual
virtual Reaction qsf::ai::ApproachedSpecialStateCallback::onEntityApproachesNode ( Entity entity,
const worldElement::State state,
UnsignedFloat  distance 
)
pure virtual
virtual Reaction qsf::ai::ApproachedSpecialStateCallback::onEntityInCurrentArea ( Entity entity,
const worldElement::State state 
)
pure virtual

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