Emergency 20 Dokumentation  4.2.0
ExtinguishCoolBaseCommand.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 //[-------------------------------------------------------]
13 #include "em5/command/Command.h"
14 
15 
16 //[-------------------------------------------------------]
17 //[ Namespace ]
18 //[-------------------------------------------------------]
19 namespace em5
20 {
21 
22 
23  //[-------------------------------------------------------]
24  //[ Classes ]
25  //[-------------------------------------------------------]
31  {
32 
33 
34  //[-------------------------------------------------------]
35  //[ Public methods ]
36  //[-------------------------------------------------------]
37  public:
42  explicit ExtinguishCoolBaseCommand(qsf::game::CommandManager* commandManager, uint32 commandId);
43 
44 
45  //[-------------------------------------------------------]
46  //[ Protected methods ]
47  //[-------------------------------------------------------]
48  protected:
53  bool checkTarget(const qsf::game::CommandContext& context);
54 
55 
56  //[-------------------------------------------------------]
57  //[ Protected data ]
58  //[-------------------------------------------------------]
59  protected:
61 
62 
63  //[-------------------------------------------------------]
64  //[ CAMP reflection system ]
65  //[-------------------------------------------------------]
66  QSF_CAMP_RTTI() // Only adds the virtual method "campClassId()", nothing more
67 
68 
69  };
70 
71 
72 //[-------------------------------------------------------]
73 //[ Namespace ]
74 //[-------------------------------------------------------]
75 } // em5
76 
77 
78 //[-------------------------------------------------------]
79 //[ CAMP reflection system ]
80 //[-------------------------------------------------------]
Command manager implementation.
Definition: CommandManager.h:49
Definition: ActionPriority.h:13
bool checkTarget(const qsf::game::CommandContext &context)
Checks the conditions of the target.
unsigned int uint32
Definition: PlatformTypes.h:181
Abstract EMERGENCY 5 command base class.
Definition: Command.h:44
ExtinguishCoolBaseCommand(qsf::game::CommandManager *commandManager, uint32 commandId)
Constructor.
#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
bool mIsCoolCommand
Definition: ExtinguishCoolBaseCommand.h:60
EMERGENCY 5 extinguish command base class.
Definition: ExtinguishCoolBaseCommand.h:30
Command context base class.
Definition: CommandContext.h:48