ScummVM API documentation
Ultima::Ultima4::KeyHandlerController Class Reference

#include <key_handler_controller.h>

Inheritance diagram for Ultima::Ultima4::KeyHandlerController:
Ultima::Ultima4::Controller

Public Member Functions

 KeyHandlerController (KeyHandler *handler)
 
bool keyPressed (int key) override
 
KeyHandlergetKeyHandler ()
 
- 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)
 

Detailed Description

A controller that wraps a keyhander function. Keyhandlers are deprecated – please use a controller instead.

Member Function Documentation

◆ keyPressed()

bool Ultima::Ultima4::KeyHandlerController::keyPressed ( int  key)
overridevirtual

Key was pressed

Reimplemented from Ultima::Ultima4::Controller.


The documentation for this class was generated from the following file: