#include <InputCombo.h>
Inheritance diagram for Odyssey::AndInputCombo:
Public Member Functions | |
AndInputCombo () | |
void | addActionWindow (const String &openAction, const String &closeAction) |
Adds a new input event window to this combo. | |
void | removeActionWindow (size_t index) |
Removes the indexed window from the combo. | |
void | clearActionWindows () |
Removes all the action windows from this combo. | |
void | onEvent (const String &action) |
The callback for this combo's action mapping. | |
Classes | |
class | InputWindow |
This class is a combo controller that is triggered during an "and" condition between actions. That is, actions are defined by windows of opening and closing input events, and if all specified windows are opened, the combo is triggered.
|
|
|
Adds a new input event window to this combo.
|
|
Removes all the action windows from this combo.
|
|
The callback for this combo's action mapping. This is the callable target that get notified when an action from this combo's action map is invoked. It is in this overrideable that the logic for combo invocation is made. If the combo should be invoked, onCombo needs to be called.
Reimplemented from Odyssey::InputCombo. |
|
Removes the indexed window from the combo.
|