#include <KeyboardHandler.hpp>
Public Member Functions | |
KeyboardHandler () | |
Constructor. | |
virtual | ~KeyboardHandler () |
Destructor. | |
virtual bool | isKeyDown (KeyCode key)=0 |
Check if a key is down. |
This is the object which gives access to the keyboard. This is a pure abstract class which needs a concrete implementation (using OIS, DirectInput or any other input library).
syBR::InputCore::KeyboardHandler::KeyboardHandler | ( | ) |
Constructor.
syBR::InputCore::KeyboardHandler::~KeyboardHandler | ( | ) | [virtual] |
virtual bool syBR::InputCore::KeyboardHandler::isKeyDown | ( | KeyCode | key | ) | [pure virtual] |
Check if a key is down.
key | Key to be checked |
Implemented in syBR::InputOIS::KeyboardHandler.
Copyright © 2008 by Sebastien Frippiat
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License.
Last modified Tue Dec 30 17:57:34 2008