#include <wait_controller.h>
Public Member Functions | |
WaitController (uint cycles) | |
bool | keyPressed (int key) override |
void | timerFired () override |
void | wait () |
void | setCycles (int c) |
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) |
bool | shouldQuit () const |
Additional Inherited Members | |
Static Public Member Functions inherited from Ultima::Ultima4::Controller | |
static void | timerCallback (void *data) |
A controller to pause for a given length of time, ignoring all keyboard input.
|
overridevirtual |
Key was pressed
Reimplemented from Ultima::Ultima4::Controller.
|
overridevirtual |
The default timerFired handler for a controller. By default, timers are ignored, but subclasses can override this method and it will be called every <interval> 1/4 seconds.
Reimplemented from Ultima::Ultima4::Controller.