Package games.stendhal.client.actions
Class AutoWalkAction
java.lang.Object
games.stendhal.client.actions.AutoWalkAction
- All Implemented Interfaces:
SlashAction
Causes the entity to begin walking in the direction facing.
- Author:
- AntumDeluge
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanExecute a chat command.intGet the maximum number of formal parameters.intGet the minimum number of formal parameters.
-
Constructor Details
-
AutoWalkAction
public AutoWalkAction()
-
-
Method Details
-
execute
Execute a chat command.- Specified by:
executein interfaceSlashAction- Parameters:
params- The formal parameters.remainder- Line content after parameters.- Returns:
trueif command was handled.
-
getMaximumParameters
public int getMaximumParameters()Get the maximum number of formal parameters.- Specified by:
getMaximumParametersin interfaceSlashAction- Returns:
- Parameter count.
-
getMinimumParameters
public int getMinimumParameters()Get the minimum number of formal parameters.- Specified by:
getMinimumParametersin interfaceSlashAction- Returns:
- Parameter count.
-