java.lang.Object com.realtime.crossfire.jxclient.commands.AbstractCommand com.realtime.crossfire.jxclient.commands.ScriptkillCommand
public class ScriptkillCommand
Implements the "scriptkill" command. It terminates running scripts.
Field Summary | |
---|---|
private ScriptManager |
scriptManager
The ScriptManager to use. |
Constructor Summary | |
---|---|
ScriptkillCommand(ScriptManager scriptManager,
CrossfireServerConnection crossfireServerConnection)
Creates a new instance. |
Method Summary | |
---|---|
boolean |
allArguments()
Returns whether all remaining commands should be included as arguments. |
void |
execute(java.lang.String args)
Executes the command with the given arguments. |
Methods inherited from class com.realtime.crossfire.jxclient.commands.AbstractCommand |
---|
drawInfo, drawInfo, drawInfoError, drawInfoSetDebugMode |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
@NotNull private final ScriptManager scriptManager
ScriptManager
to use.
Constructor Detail |
---|
public ScriptkillCommand(@NotNull ScriptManager scriptManager, @NotNull CrossfireServerConnection crossfireServerConnection)
scriptManager
- the script manager to usecrossfireServerConnection
- the connection instanceMethod Detail |
---|
public boolean allArguments()
public void execute(@NotNull java.lang.String args)
args
- the command arguments