Emergency 20 Dokumentation  4.2.0
DebugOrderBox.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 <qsf/gui/GuiDocument.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:
38  explicit DebugOrderBox(qsf::GuiContext& guiContext);
39 
40 
41  //[-------------------------------------------------------]
42  //[ Public virtual qsf::GuiDocument methods ]
43  //[-------------------------------------------------------]
44  public:
45  virtual void processEvent(const std::string& eventKey, Rocket::Core::Event& event) override;
46 
47 
48  //[-------------------------------------------------------]
49  //[ Private methods ]
50  //[-------------------------------------------------------]
51  private:
52  void spawnUnit(Rocket::Core::Event& event);
53  void spawnRandomPerson();
54  void spawnRandomVehicle();
55 
56  };
57 
58 
59 //[-------------------------------------------------------]
60 //[ Namespace ]
61 //[-------------------------------------------------------]
62 } // em5
Definition: ActionPriority.h:13
Graphical User Interface (GUI) document base class.
Definition: GuiDocument.h:51
Ingame Graphical User Interface (GUI) context class.
Definition: GuiContext.h:62
DebugOrderBox(qsf::GuiContext &guiContext)
virtual void processEvent(const std::string &eventKey, Rocket::Core::Event &event) override
Debug GUI window.
Definition: DebugOrderBox.h:30