Emergency 20 Dokumentation  4.2.0
Arsonist02EventFactory.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 
51  virtual ~Arsonist02EventFactory();
52 
53  QSF_DEFINE_SIMPLE_GETTER_AND_SETTER(CheeringTime, qsf::Time, mCheeringTime);
54 
55 
56  //[-------------------------------------------------------]
57  //[ Public virtual em5::FreeplayEventFactory methods ]
58  //[-------------------------------------------------------]
59  public:
60  virtual FreeplayEvent* tryTriggerEvent() override;
61 
62 
63  //[-------------------------------------------------------]
64  //[ Private data ]
65  //[-------------------------------------------------------]
66  private:
67  qsf::Time mCheeringTime;
68 
69 
70  //[-------------------------------------------------------]
71  //[ CAMP reflection system ]
72  //[-------------------------------------------------------]
73  QSF_CAMP_RTTI() // Only adds the virtual method "campClassId()", nothing more
74 
75 
76  };
77 
78 
79 //[-------------------------------------------------------]
80 //[ Namespace ]
81 //[-------------------------------------------------------]
82 } // em5
83 
84 
85 //[-------------------------------------------------------]
86 //[ CAMP reflection system ]
87 //[-------------------------------------------------------]
Definition: ActionPriority.h:13
#define EM5_API_EXPORT
Definition: Export.h:28
#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
#define QSF_DEFINE_SIMPLE_GETTER_AND_SETTER(name, type, variable)
Definition: PropertyHelper.h:16
Abstract EMERGENCY 5 freeplay event base class.
Definition: FreeplayEvent.h:66
EMERGENCY 5 freeplay event factory for "Arsonist 02".
Definition: Arsonist02EventFactory.h:33
Data type for encapsulating time information. It might represents points in time and time spans...
Definition: Time.h:32