Class ScriptkillCommand
java.lang.Object
com.realtime.crossfire.jxclient.commands.AbstractCommand
com.realtime.crossfire.jxclient.commands.ScriptkillCommand
- All Implemented Interfaces:
Command
Implements the "scriptkill" command. It terminates running scripts.
-
Constructor Summary
ConstructorsConstructorDescriptionScriptkillCommand
(@NotNull ScriptManager scriptManager, @NotNull CrossfireServerConnection crossfireServerConnection) Creates a new instance. -
Method Summary
Methods inherited from class com.realtime.crossfire.jxclient.commands.AbstractCommand
drawInfo, drawInfo, drawInfoError, getCommandName, toString
-
Constructor Details
-
ScriptkillCommand
public ScriptkillCommand(@NotNull @NotNull ScriptManager scriptManager, @NotNull @NotNull CrossfireServerConnection crossfireServerConnection) Creates a new instance.- Parameters:
scriptManager
- the script manager to usecrossfireServerConnection
- the connection instance
-
-
Method Details
-
allArguments
public boolean allArguments()Description copied from interface:Command
Returns whether all remaining commands should be included as arguments.- Returns:
- whether all remaining commands should be included as arguments
-
execute
Description copied from interface:Command
Executes the command with the given arguments.- Parameters:
args
- the command arguments
-
getHelp
Description copied from interface:Command
Returns the help text for this command.- Returns:
- the help text
-