Emergency 20 Dokumentation  4.2.0
PlaneCrashEventFactory.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 //[-------------------------------------------------------]
14 
16 #include <qsf/time/Time.h>
17 
18 
19 //[-------------------------------------------------------]
20 //[ Forward declarations ]
21 //[-------------------------------------------------------]
22 namespace qsf
23 {
24  class Entity;
25 }
26 
27 
28 //[-------------------------------------------------------]
29 //[ Namespace ]
30 //[-------------------------------------------------------]
31 namespace em5
32 {
33 
34 
35  //[-------------------------------------------------------]
36  //[ Classes ]
37  //[-------------------------------------------------------]
43  {
44 
45 
46  //[-------------------------------------------------------]
47  //[ Public methods ]
48  //[-------------------------------------------------------]
49  public:
55 
60  virtual ~PlaneCrashEventFactory();
61 
62 
63  //[-------------------------------------------------------]
64  //[ Public virtual em5::FreeplayEventFactory methods ]
65  //[-------------------------------------------------------]
66  public:
67  virtual FreeplayEvent* tryTriggerEvent() override;
68 
69 
70  //[-------------------------------------------------------]
71  //[ Private methods ]
72  //[-------------------------------------------------------]
73  private:
74  bool checkConditions() const;
75 
76 
77  //[-------------------------------------------------------]
78  //[ CAMP reflection system ]
79  //[-------------------------------------------------------]
80  QSF_CAMP_RTTI() // Only adds the virtual method "campClassId()", nothing more
81 
82 
83  };
84 
85 
86 //[-------------------------------------------------------]
87 //[ Namespace ]
88 //[-------------------------------------------------------]
89 } // em5
90 
91 
92 //[-------------------------------------------------------]
93 //[ CAMP reflection system ]
94 //[-------------------------------------------------------]
Definition: ActionPriority.h:13
Emergency 5 freeplay event factory for "munich pest scientist plane crash".
Definition: PlaneCrashEventFactory.h:42
#define EM5_API_EXPORT
Definition: Export.h:28
Definition: PickupPersonByParamedicAction.h:21
#define QSF_CAMP_RTTI()
Only adds the virtual method "campClassId()", nothing more.
Definition: CampClass.h:75
#define QSF_CAMP_TYPE_NONCOPYABLE(type)
See "CAMP_TYPE_NONCOPYABLE" for details.
Definition: CampClass.h:112
EMERGENCY 5 freeplay event factory base class.
Definition: FreeplayEventFactory.h:56
Abstract EMERGENCY 5 freeplay event base class.
Definition: FreeplayEvent.h:66