Class ConditionalStopAction

java.lang.Object
games.stendhal.server.actions.move.ConditionalStopAction
All Implemented Interfaces:
ActionListener

public class ConditionalStopAction extends Object implements ActionListener
Action that stops player movement when certain conditions are met.
Author:
AntumDeluge
  • Constructor Details

    • ConditionalStopAction

      public ConditionalStopAction()
  • Method Details

    • register

      public static void register()
      Registers conditional stop action.
    • onAction

      public void onAction(Player player, RPAction action)
      Description copied from interface: ActionListener
      processes the requested action.
      Specified by:
      onAction in interface ActionListener
      Parameters:
      player - the caller of the action
      action - the action to be performed