#include <key_handler_controller.h>
Public Member Functions | |
KeyHandlerController (KeyHandler *handler) | |
bool | keyPressed (int key) override |
KeyHandler * | getKeyHandler () |
Public Member Functions inherited from Ultima::Ultima4::Controller | |
Controller (int timerInterval=1) | |
virtual bool | isCombatController () const |
bool | notifyKeyPressed (int key) |
bool | notifyMousePress (const Common::Point &mousePos) |
int | getTimerInterval () |
virtual void | setActive () |
virtual bool | mousePressed (const Common::Point &mousePos) |
virtual void | keybinder (KeybindingAction action) |
virtual void | timerFired () |
bool | shouldQuit () const |
Additional Inherited Members | |
Static Public Member Functions inherited from Ultima::Ultima4::Controller | |
static void | timerCallback (void *data) |
A controller that wraps a keyhander function. Keyhandlers are deprecated – please use a controller instead.
|
overridevirtual |
Key was pressed
Reimplemented from Ultima::Ultima4::Controller.