Emergency 20 Dokumentation  4.2.0
DebugCommandMode.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/Export.h"
14 
16 
17 #include <qsf/reflection/CampClass.h> // This include is not needed here directly, but most likely in a derived class
18 #include <qsf/debug/DebugDrawProxy.h> // This include is not needed here directly, but most likely in a derived class
19 
20 
21 //[-------------------------------------------------------]
22 //[ Forward declarations ]
23 //[-------------------------------------------------------]
24 namespace em5
25 {
26  class FreeplayEvent;
27 }
28 
29 
30 //[-------------------------------------------------------]
31 //[ Namespace ]
32 //[-------------------------------------------------------]
33 namespace em5
34 {
35 
36 
37  //[-------------------------------------------------------]
38  //[ Classes ]
39  //[-------------------------------------------------------]
48  {
49 
50 
51  //[-------------------------------------------------------]
52  //[ Protected methods ]
53  //[-------------------------------------------------------]
54  protected:
59  DebugCommandMode(uint32 commandId);
60 
65  virtual ~DebugCommandMode();
66 
71  FreeplayEvent* getCurrentFreeplayEvent() const;
72 
77  glm::vec2 getMousePosition() const;
78 
83  glm::vec2 getNormalizedMousePosition() const;
84 
85 
86  };
87 
88 
89 //[-------------------------------------------------------]
90 //[ Namespace ]
91 //[-------------------------------------------------------]
92 } // em5
Definition: ActionPriority.h:13
unsigned int uint32
Definition: PlatformTypes.h:181
#define EM5_API_EXPORT
Definition: Export.h:28
Debug command mode abstract base class.
Definition: DebugCommandMode.h:47
Command mode base class.
Definition: CommandMode.h:51
Abstract EMERGENCY 5 freeplay event base class.
Definition: FreeplayEvent.h:66