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

#include <read_dir_controller.h>

Inheritance diagram for Ultima::Ultima4::ReadDirController:
Ultima::Ultima4::WaitableController< Direction > Ultima::Ultima4::Controller

Public Member Functions

void setActive () override
 
void keybinder (KeybindingAction action) override
 
- Public Member Functions inherited from Ultima::Ultima4::WaitableController< Direction >
 WaitableController (Direction defaultValue)
 
virtual Direction getValue ()
 
virtual Direction waitFor ()
 
virtual bool mousePressed (const Common::Point &mousePos)
 
- 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 bool keyPressed (int key)
 
virtual void timerFired ()
 
bool shouldQuit () const
 

Additional Inherited Members

- Static Public Member Functions inherited from Ultima::Ultima4::Controller
static void timerCallback (void *data)
 
- Protected Member Functions inherited from Ultima::Ultima4::WaitableController< Direction >
void doneWaiting ()
 
- Protected Attributes inherited from Ultima::Ultima4::WaitableController< Direction >
Direction _value
 

Detailed Description

A controller to read a direction enter with the arrow keys.

Member Function Documentation

◆ setActive()

void Ultima::Ultima4::ReadDirController::setActive ( )
overridevirtual

Called when a controller is made active

Reimplemented from Ultima::Ultima4::Controller.

◆ keybinder()

void Ultima::Ultima4::ReadDirController::keybinder ( KeybindingAction  action)
overridevirtual

Handles keybinder actions

Reimplemented from Ultima::Ultima4::Controller.


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