Emergency 20 Dokumentation  4.2.0
AiSpecialSteeringStateCallback-inl.h
Go to the documentation of this file.
1 // Copyright (C) 2012-2018 Promotion Software GmbH
2 
3 
4 //[-------------------------------------------------------]
5 //[ Namespace ]
6 //[-------------------------------------------------------]
7 namespace em5
8 {
9 
10 
11  //[-------------------------------------------------------]
12  //[ Public virtual qsf::ai::ApproachedSpecialStateCallback methods ]
13  //[-------------------------------------------------------]
15  {
16  return onEntityApproachesNode(entity, state, distance); // treat like an approached node
17  }
18 
20  {
22  }
23 
24 
25 //[-------------------------------------------------------]
26 //[ Namespace ]
27 //[-------------------------------------------------------]
28 } // em5
Definition: ActionPriority.h:13
Entity class.
Definition: Entity.h:46
Definition: ApproachedSpecialStateCallback.h:32
Definition: WorldElementState.h:59
virtual Reaction onEntityApproachesNode(qsf::Entity &entity, const qsf::ai::worldElement::State &state, qsf::UnsignedFloat distance) override
Reaction
Definition: ApproachedSpecialStateCallback.h:30
virtual Reaction onEntityApproachesArea(qsf::Entity &entity, const qsf::ai::worldElement::State &state, qsf::UnsignedFloat distance) override
Definition: AiSpecialSteeringStateCallback-inl.h:14
Definition: UnsignedFloat.h:33
virtual Reaction onEntityInCurrentArea(qsf::Entity &entity, const qsf::ai::worldElement::State &state) override
Definition: AiSpecialSteeringStateCallback-inl.h:19