_________ __ __ / _____// |_____________ _/ |______ ____ __ __ ______ \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/ / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \ /_______ /|__| |__| (____ /__| (____ /\___ /|____//____ > \/ \/ \//_____/ \/ ______________________ ______________________ T H E W A R B E G I N S Stratagus - A free fantasy real time strategy game engine
#include <input.h>
Public Member Functions | |
virtual | ~Input () |
virtual bool | isKeyQueueEmpty ()=0 |
virtual KeyInput | dequeueKeyInput ()=0 |
virtual bool | isMouseQueueEmpty ()=0 |
virtual MouseInput | dequeueMouseInput ()=0 |
virtual void | _pollInput ()=0 |
Inputs base class. Contains basic Input functions every implemented input class should have. Input classes should inherit from this class and implements it's functions.
|
inlinevirtual |
Destructor.
|
pure virtual |
Polls all exsisting input. It exists for Input implementation compatibility. It is used internally by the library.
Implemented in gcn::SDLInput.
|
pure virtual |
Dequeues the key input queue.
Implemented in gcn::SDLInput.
|
pure virtual |
Dequeues the mouse input queue.
Implemented in gcn::SDLInput.
|
pure virtual |
Checks whether the key queue is empty or not.
Implemented in gcn::SDLInput.
|
pure virtual |
Checks whether the mouse queue is empyt or not.
Implemented in gcn::SDLInput.