Interface for the different Input. More...
#include <NEngine/Native/SDL/Input.h>
Public Member Functions | |
virtual NE::InputManager::ArrowsDirection | getDirectionsPressed (void) const =0 |
Gets the directions. | |
virtual NE::InputManager::Buttons | getButtonsState (void)=0 |
Gets the buttons pressed. | |
virtual bool | needEscape (void)=0 |
Get if the escape sequence is pressed. | |
virtual void | update (void)=0 |
update the buttons states |
Interface for the different Input.
InputManager::Buttons NE::Input::getButtonsState | ( | void | ) | [pure virtual] |
Gets the buttons pressed.
Implemented in NE::SDL_Joy, and NE::SDL_Keyboard.
InputManager::ArrowsDirection NE::Input::getDirectionsPressed | ( | void | ) | const [pure virtual] |
Gets the directions.
Implemented in NE::SDL_Joy, and NE::SDL_Keyboard.
bool NE::Input::needEscape | ( | void | ) | [pure virtual] |
Get if the escape sequence is pressed.
Implemented in NE::SDL_Joy, and NE::SDL_Keyboard.