Emergency 20 Dokumentation  4.2.0
EventSpreadHelper.h
Go to the documentation of this file.
1 // Copyright (C) 2012-2018 Promotion Software GmbH
2 
3 
4 //[-------------------------------------------------------]
5 //[ Header guard ]
6 //[-------------------------------------------------------]
7 #pragma once
8 
9 
10 //[-------------------------------------------------------]
11 //[ Includes ]
12 //[-------------------------------------------------------]
13 #include "em5/Export.h"
15 
16 #include <boost/noncopyable.hpp>
17 
18 
19 //[-------------------------------------------------------]
20 //[ Forward declarations ]
21 //[-------------------------------------------------------]
22 namespace qsf
23 {
24  class Entity;
25 }
26 namespace em5
27 {
28  class FreeplayEvent;
29 }
30 
31 
32 //[-------------------------------------------------------]
33 //[ Namespace ]
34 //[-------------------------------------------------------]
35 namespace em5
36 {
37 
38 
39  //[-------------------------------------------------------]
40  //[ Classes ]
41  //[-------------------------------------------------------]
46  class EM5_API_EXPORT EventSpreadHelper : public boost::noncopyable
47  {
48 
49 
50  //[-------------------------------------------------------]
51  //[ Public static methods ]
52  //[-------------------------------------------------------]
53  public:
68  static bool setEventIdComponent(FreeplayEvent* freeplayEvent, qsf::Entity& entity, eventspreadreason::Reason eventSpreadReason = eventspreadreason::NO_REASON);
69 
70 
71  };
72 
73 
74 //[-------------------------------------------------------]
75 //[ Namespace ]
76 //[-------------------------------------------------------]
77 } // em5
Definition: ActionPriority.h:13
Static EMERGENCY 5 event spread helper class.
Definition: EventSpreadHelper.h:46
Entity class.
Definition: Entity.h:46
No spread event for no reason.
Definition: EventSpreadReason.h:22
#define EM5_API_EXPORT
Definition: Export.h:28
Reason
Definition: EventSpreadReason.h:20
Definition: PickupPersonByParamedicAction.h:21
Abstract EMERGENCY 5 freeplay event base class.
Definition: FreeplayEvent.h:66