Package games.stendhal.client.actions
Class AutoWalkStopAction
java.lang.Object
games.stendhal.client.actions.AutoWalkStopAction
- All Implemented Interfaces:
SlashAction
Stops player's movement.
- Author:
- AntumDeluge
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Execute a chat command.int
Get the maximum number of formal parameters.int
Get the minimum number of formal parameters.
-
Constructor Details
-
AutoWalkStopAction
public AutoWalkStopAction()
-
-
Method Details
-
execute
Execute a chat command.- Specified by:
execute
in interfaceSlashAction
- Parameters:
params
- The formal parameters.remainder
- Line content after parameters.- Returns:
true
if command was handled.
-
getMaximumParameters
public int getMaximumParameters()Get the maximum number of formal parameters.- Specified by:
getMaximumParameters
in interfaceSlashAction
- Returns:
- Parameter count.
-
getMinimumParameters
public int getMinimumParameters()Get the minimum number of formal parameters.- Specified by:
getMinimumParameters
in interfaceSlashAction
- Returns:
- Parameter count.
-