Emergency 20 Dokumentation  4.2.0
BuildingProtectionEventFactory.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 //[ Namespace ]
21 //[-------------------------------------------------------]
22 namespace em5
23 {
24 
25 
26  //[-------------------------------------------------------]
27  //[ Classes ]
28  //[-------------------------------------------------------]
34  {
35 
36 
37  //[-------------------------------------------------------]
38  //[ Public methods ]
39  //[-------------------------------------------------------]
40  public:
46 
52 
53 
54  //[-------------------------------------------------------]
55  //[ Public virtual em5::FreeplayEventFactory methods ]
56  //[-------------------------------------------------------]
57  public:
58  virtual FreeplayEvent* tryTriggerEvent() override;
59 
60 
61  //[-------------------------------------------------------]
62  //[ Private methods ]
63  //[-------------------------------------------------------]
64  private:
65  bool checkConditions() const;
66 
67 
68  //[-------------------------------------------------------]
69  //[ CAMP reflection system ]
70  //[-------------------------------------------------------]
71  QSF_CAMP_RTTI() // Only adds the virtual method "campClassId()", nothing more
72 
73 
74  };
75 
76 
77 //[-------------------------------------------------------]
78 //[ Namespace ]
79 //[-------------------------------------------------------]
80 } // em5
81 
82 
83 //[-------------------------------------------------------]
84 //[ CAMP reflection system ]
85 //[-------------------------------------------------------]
Definition: ActionPriority.h:13
#define EM5_API_EXPORT
Definition: Export.h:28
Emergency 2017 mini-event factory for "Berlin Reichtag buzilding protection".
Definition: BuildingProtectionEventFactory.h:33
#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