|
Platform Data Engine 0.0.1
A data-driven game engine for platformers
|
The base class for an input manager, other classes can inherit this to feed input to the game. For example, if you had some hardware like a motion controller, midi keyboard or other weird device, you could make an input manager for it. More...
#include <InputManager.h>
Classes | |
| class | Axis |
| Defines an axis, this is usually something like a joystick slider or knob More... | |
| class | Button |
| Defines a button (ie. something with a true/false state) More... | |
Public Member Functions | |
| virtual sf::Vector2f | getMouse ()=0 |
| virtual Axis & | getAxis (const std::string &axisName)=0 |
| virtual Button & | getButton (const std::string &button)=0 |
The base class for an input manager, other classes can inherit this to feed input to the game. For example, if you had some hardware like a motion controller, midi keyboard or other weird device, you could make an input manager for it.
|
pure virtual |
Implemented in PlatformDataEngine::PlayerInputManager.
|
pure virtual |
Implemented in PlatformDataEngine::PlayerInputManager.