Emergency 20 Dokumentation  4.2.0
StartBurningCommandMode.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 
15 
16 //[-------------------------------------------------------]
17 //[ Namespace ]
18 //[-------------------------------------------------------]
19 namespace em5
20 {
21 
22 
23  //[-------------------------------------------------------]
24  //[ Classes ]
25  //[-------------------------------------------------------]
34  {
35 
36 
37  //[-------------------------------------------------------]
38  //[ Public definitions ]
39  //[-------------------------------------------------------]
40  public:
41  static const uint32 PLUGINABLE_ID;
42 
43 
44  //[-------------------------------------------------------]
45  //[ Public static methods ]
46  //[-------------------------------------------------------]
47  public:
48  static bool execute(qsf::game::CommandContext& commandContext);
49 
50 
51  //[-------------------------------------------------------]
52  //[ Public methods ]
53  //[-------------------------------------------------------]
54  public:
60 
65  virtual ~StartBurningCommandMode();
66 
67 
68  //[-------------------------------------------------------]
69  //[ Public virtual qsf::game::CommandMode methods ]
70  //[-------------------------------------------------------]
71  public:
72  virtual void startup() override;
73  virtual void shutdown() override;
74  virtual bool executeCommandContext(qsf::game::CommandContext& commandContext, const EntityIdSet& callerIds) override;
75  virtual void updateCommandMode(const qsf::Clock& clock) override;
76 
77 
78  //[-------------------------------------------------------]
79  //[ Private data ]
80  //[-------------------------------------------------------]
81  private:
82  qsf::DebugDrawProxy mDebugDrawProxy;
83 
84 
85  //[-------------------------------------------------------]
86  //[ CAMP reflection system ]
87  //[-------------------------------------------------------]
88  QSF_CAMP_RTTI() // Only adds the virtual method "campClassId()", nothing more
89 
90 
91  };
92 
93 
94 //[-------------------------------------------------------]
95 //[ Namespace ]
96 //[-------------------------------------------------------]
97 } // em5
98 
99 
100 //[-------------------------------------------------------]
101 //[ CAMP reflection system ]
102 //[-------------------------------------------------------]
Definition: ActionPriority.h:13
unsigned int uint32
Definition: PlatformTypes.h:181
Clock class.
Definition: Clock.h:33
#define EM5_API_EXPORT
Definition: Export.h:28
static const uint32 PLUGINABLE_ID
"em5::StartBurningCommandMode" unique command pluginable ID
Definition: StartBurningCommandMode.h:41
Debug draw proxy class.
Definition: DebugDrawProxy.h:46
Debug command mode abstract base class.
Definition: DebugCommandMode.h:47
#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
Start burning entity command mode.
Definition: StartBurningCommandMode.h:33
boost::container::flat_set< uint64 > EntityIdSet
Definition: CommandMode.h:59
Command context base class.
Definition: CommandContext.h:48