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

#include <read_player_controller.h>

Inheritance diagram for Ultima::Ultima4::ReadPlayerController:
Ultima::Ultima4::ReadChoiceController Ultima::Ultima4::WaitableController< int > Ultima::Ultima4::Controller

Public Member Functions

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

Additional Inherited Members

- Static Public Member Functions inherited from Ultima::Ultima4::ReadChoiceController
static char get (const Common::String &choices, EventHandler *eh=nullptr)
 
- Static Public Member Functions inherited from Ultima::Ultima4::Controller
static void timerCallback (void *data)
 
- Protected Member Functions inherited from Ultima::Ultima4::WaitableController< int >
void doneWaiting ()
 
- Protected Attributes inherited from Ultima::Ultima4::ReadChoiceController
Common::String _choices
 
- Protected Attributes inherited from Ultima::Ultima4::WaitableController< int >
int _value
 

Detailed Description

A controller to read a player number.

Member Function Documentation

◆ keyPressed()

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

Key was pressed

Reimplemented from Ultima::Ultima4::ReadChoiceController.


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