public class CommandEvent extends AbstractCancellable
Constructor and Description |
---|
CommandEvent(Actor actor,
java.lang.String arguments)
Create a new instance.
|
Modifier and Type | Method and Description |
---|---|
Actor |
getActor()
Get the actor that issued the command.
|
java.lang.String |
getArguments()
Get the arguments.
|
isCancelled, setCancelled
public CommandEvent(Actor actor, java.lang.String arguments)
actor
- the playerarguments
- the argumentspublic Actor getActor()
public java.lang.String getArguments()