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

#include <reagents_menu_controller.h>

Inheritance diagram for Ultima::Ultima4::ReagentsMenuController:
Ultima::Ultima4::MenuController Ultima::Ultima4::WaitableController< void *> Ultima::Ultima4::Controller

Public Member Functions

 ReagentsMenuController (Menu *menu, Ingredients *i, TextView *view)
 
bool keyPressed (int key) override
 
void keybinder (KeybindingAction action) override
 
- Public Member Functions inherited from Ultima::Ultima4::MenuController
 MenuController (Menu *menu, TextView *view)
 
void setActive () override
 
bool mousePressed (const Common::Point &mousePos) override
 
- Public Member Functions inherited from Ultima::Ultima4::WaitableController< void *>
 WaitableController (void * defaultValue)
 
virtual void * getValue ()
 
virtual void * waitFor ()
 
- 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 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< void *>
void doneWaiting ()
 
- Protected Attributes inherited from Ultima::Ultima4::MenuController
Menu_menu
 
TextView_view
 
- Protected Attributes inherited from Ultima::Ultima4::WaitableController< void *>
void * _value
 

Detailed Description

Controller for the reagents menu used when mixing spells. Fills the passed in Ingredients with the selected reagents.

Member Function Documentation

◆ keyPressed()

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

Handles spell mixing for the Ultima V-style menu-system

Reimplemented from Ultima::Ultima4::MenuController.

◆ keybinder()

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

Handles keybinder actions

Reimplemented from Ultima::Ultima4::MenuController.


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