#include <input.hpp>
Inheritance diagram for gcn::Input:
Contains basic Input functions every implemented input class should have. Input classes should inherit from this class and implements it's functions.
Definition at line 71 of file input.hpp.
Public Member Functions | |
virtual | ~Input () |
Destructor. | |
virtual bool | isKeyQueueEmpty ()=0 |
Checks whether the key queue is empty or not. | |
virtual KeyInput | dequeueKeyInput ()=0 |
Dequeues the key input queue. | |
virtual bool | isMouseQueueEmpty ()=0 |
Checks whether the mouse queue is empyt or not. | |
virtual MouseInput | dequeueMouseInput ()=0 |
Dequeues the mouse input queue. | |
virtual void | _pollInput ()=0 |
Polls all exsisting input. |
|
Polls all exsisting input. It exists for Input implementation compatibility. It is used internally by the library. Implemented in gcn::AllegroInput, and gcn::SDLInput. Referenced by gcn::Gui::logic(). |
|
Dequeues the key input queue.
Implemented in gcn::AllegroInput, and gcn::SDLInput. Referenced by gcn::Gui::logic(). |
|
Dequeues the mouse input queue.
Implemented in gcn::AllegroInput, and gcn::SDLInput. Referenced by gcn::Gui::logic(). |
|
Checks whether the key queue is empty or not.
Implemented in gcn::AllegroInput, and gcn::SDLInput. Referenced by gcn::Gui::logic(). |
|
Checks whether the mouse queue is empyt or not.
Implemented in gcn::AllegroInput, and gcn::SDLInput. Referenced by gcn::Gui::logic(). |