Emergency 20 Dokumentation  4.2.0
RunningAmokEventFactory.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 
17 
18 //[-------------------------------------------------------]
19 //[ Namespace ]
20 //[-------------------------------------------------------]
21 namespace em5
22 {
23 
24 
25  //[-------------------------------------------------------]
26  //[ Classes ]
27  //[-------------------------------------------------------]
33  {
34 
35 
36  //[-------------------------------------------------------]
37  //[ Public methods ]
38  //[-------------------------------------------------------]
39  public:
45 
50  virtual ~RunningAmokEventFactory();
51 
52  QSF_DEFINE_SIMPLE_GETTER_AND_SETTER(PeopleToAttack, uint32, mPeopleToAttack);
53 
54 
55  //[-------------------------------------------------------]
56  //[ Public virtual em5::FreeplayEventFactory methods ]
57  //[-------------------------------------------------------]
58  public:
59  virtual FreeplayEvent* tryTriggerEvent() override;
60 
61 
62  //[-------------------------------------------------------]
63  //[ Private data ]
64  //[-------------------------------------------------------]
65  private:
66  uint32 mPeopleToAttack;
67 
68 
69  //[-------------------------------------------------------]
70  //[ CAMP reflection system ]
71  //[-------------------------------------------------------]
72  QSF_CAMP_RTTI() // Only adds the virtual method "campClassId()", nothing more
73 
74 
75  };
76 
77 
78 //[-------------------------------------------------------]
79 //[ Namespace ]
80 //[-------------------------------------------------------]
81 } // em5
82 
83 
84 //[-------------------------------------------------------]
85 //[ CAMP reflection system ]
86 //[-------------------------------------------------------]
Definition: ActionPriority.h:13
EMERGENCY 5 freeplay event factory for "running ammok".
Definition: RunningAmokEventFactory.h:32
unsigned int uint32
Definition: PlatformTypes.h:181
#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