Daniele Bartolini 10 years ago
parent
commit
e63f452327
1 changed files with 6 additions and 8 deletions
  1. 6 8
      src/input/input_manager.h

+ 6 - 8
src/input/input_manager.h

@@ -17,6 +17,12 @@ namespace crown
 /// @ingroup Input
 class InputManager
 {
+	Allocator* _allocator;
+	InputDevice* _keyboard;
+	InputDevice* _mouse;
+	InputDevice* _touch;
+	InputDevice* _joypad[CROWN_MAX_JOYPADS];
+
 public:
 
 	InputManager(Allocator& a);
@@ -39,14 +45,6 @@ public:
 
 	/// Updates the input devices
 	void update();
-
-private:
-
-	Allocator* _allocator;
-	InputDevice* _keyboard;
-	InputDevice* _mouse;
-	InputDevice* _touch;
-	InputDevice* _joypad[CROWN_MAX_JOYPADS];
 };
 
 } // namespace crown