#include <InputCombo.h>
Inheritance diagram for Odyssey::TriggerInputCombo:
Public Member Functions | |
TriggerInputCombo () | |
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 | setTrigger (const String &name) |
This sets the trigger event name. | |
const String & | getTrigger () const |
This retrieves the current trigger event. | |
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 a special "and" condition, where windows of events must coincide with a specific trigger event. This combo is similar to the AndInputCombo, except the notion of the special trigger event which does not act like the normal event "windows" but is a once-shot trigger.
|
|
|
Adds a new input event window to this combo.
|
|
Removes all the action windows from this combo.
|
|
This retrieves the current trigger event.
|
|
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.
|
|
This sets the trigger event name.
|