An action matches itself against events and dispatches itself to interpreters.
#include
<class_action_registry_1_1_action.h>
Public Member Functions |
|
__init__ () | |
getKeyCount () | |
Return the number of keys/buttons that this
action needs to match. |
|
match () | |
Match this action against an event and
(optionally) do something with the action. |
|
execute () | |
executeAction () | |
Execute an action method on interpreters.
|
ActionRegistry.Action.__init__ | ( | ) |
Reimplemented in ActionRegistry.ActionExactMatch, and ActionRegistry.ActionState.
ActionRegistry.Action.getKeyCount | ( | ) |
Return the number of keys/buttons that this action needs to match.
ActionRegistry.Action.match | ( | ) |
Match this action against an event and (optionally) do something with the action.
Reimplemented in ActionRegistry.ActionExactMatch, ActionRegistry.ActionFuzzyMatch, and ActionRegistry.ActionState.
ActionRegistry.Action.execute | ( | ) |
Reimplemented in ActionRegistry.ActionState.
ActionRegistry.Action.executeAction | ( | ) |
Execute an action method on interpreters.
Stop dispatching when an action indicates that the event was consumed.