Emergency 20 Dokumentation  4.2.0
AiCollisionDetectedFunctor-inl.h
Go to the documentation of this file.
1 // Copyright (C) 2012-2018 Promotion Software GmbH
2 
3 
4 //[-------------------------------------------------------]
5 //[ Includes ]
6 //[-------------------------------------------------------]
7 #include "em5/ai/MoverType.h"
8 
9 
10 //[-------------------------------------------------------]
11 //[ Namespace ]
12 //[-------------------------------------------------------]
13 namespace em5
14 {
15 
16 
17  //[-------------------------------------------------------]
18  //[ Public virtual qsf::ai::CollisionCallback methods ]
19  //[-------------------------------------------------------]
21  {
22  // Switch/case on entity types here, world reactions...
23 
24  // Dummy implementation returns all collisions to steernig system, let it decide what to do with them.
26  }
27 
28 
29 //[-------------------------------------------------------]
30 //[ Namespace ]
31 //[-------------------------------------------------------]
32 } // em5
Definition: ActionPriority.h:13
Entity class.
Definition: Entity.h:46
Reaction
Definition: CollisionCallback.h:30
virtual Reaction onEntityCollided(qsf::Entity &entity, qsf::Entity &other) override
Allows a game specific reaction on the collision of BulletCollisionComponents Might trigger health dr...
Definition: AiCollisionDetectedFunctor-inl.h:20
Definition: CollisionCallback.h:33