public class BindingsCommand extends AbstractCommand
Modifier and Type | Field and Description |
---|---|
private KeybindingsManager |
keybindingsManager
Where to find bindings information.
|
Constructor and Description |
---|
BindingsCommand(CrossfireServerConnection crossfireServerConnection,
KeybindingsManager keybindingsManager)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
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.
|
drawInfo, drawInfo, drawInfoError, getCommandName, toString
private final KeybindingsManager keybindingsManager
public BindingsCommand(@NotNull CrossfireServerConnection crossfireServerConnection, @NotNull KeybindingsManager keybindingsManager)
crossfireServerConnection
- the connection instancekeybindingsManager
- bindings informationpublic boolean allArguments()
public void execute(@NotNull java.lang.String args)
args
- the command arguments