Class AutoWalkAction

java.lang.Object
games.stendhal.client.actions.AutoWalkAction
All Implemented Interfaces:
SlashAction

public class AutoWalkAction extends Object implements SlashAction
Causes the entity to begin walking in the direction facing.
Author:
AntumDeluge
  • Constructor Details

    • AutoWalkAction

      public AutoWalkAction()
  • Method Details

    • execute

      public boolean execute(String[] params, String remainder)
      Execute a chat command.
      Specified by:
      execute in interface SlashAction
      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 interface SlashAction
      Returns:
      Parameter count.
    • getMinimumParameters

      public int getMinimumParameters()
      Get the minimum number of formal parameters.
      Specified by:
      getMinimumParameters in interface SlashAction
      Returns:
      Parameter count.