Package games.stendhal.client.actions
Class AcceptChallengeAction
java.lang.Object
games.stendhal.client.actions.AcceptChallengeAction
- All Implemented Interfaces:
SlashAction
-
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
-
AcceptChallengeAction
public AcceptChallengeAction()
-
-
Method Details
-
execute
Description copied from interface:SlashActionExecute 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()Description copied from interface:SlashActionGet the maximum number of formal parameters.- Specified by:
getMaximumParametersin interfaceSlashAction- Returns:
- The parameter count.
-
getMinimumParameters
public int getMinimumParameters()Description copied from interface:SlashActionGet the minimum number of formal parameters.- Specified by:
getMinimumParametersin interfaceSlashAction- Returns:
- The parameter count.
-