Class CommandFiredPayload
java.lang.Object
com.j3d.engine.react.events.EventPayload<Command>
com.j3d.engine.react.events.payloads.CommandFiredPayload
Event payload for when any command has been fired.
This event stores:
- The
Commandinstance of the command being fired (the emitter of the event) - The
Invokerwhich describes the invocation of the command - The
aliasUsedto invoke the command - The
argsCopy[]to view the arguments that got passed into the command - The
taggedArgsCopyto view the tagged arguments that got passed into the command
- Author:
- Lehlogonolo Poole
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Stringprivate final Object[]private final Invokerprivate final ArrayList<TaggedArgValue<?>> Fields inherited from class com.j3d.engine.react.events.EventPayload
emitter -
Constructor Summary
ConstructorsConstructorDescriptionCommandFiredPayload(Command cmd, Invoker i, String alias, Object[] args, ArrayList<TaggedArgValue<?>> taggedArgs) -
Method Summary
-
Field Details
-
invoker
-
aliasUsed
-
argsCopy
-
taggedArgsCopy
-
-
Constructor Details
-
CommandFiredPayload
-
-
Method Details
-
getCommand
-
getInvoker
-
getTaggedArgsCopy
-
getArgsCopy
-
getAliasUsed
-