Class KnockAction

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

public class KnockAction extends Object implements ActionListener
Knocks on a HousePortal - sends a message to all players inside the House and a feedback message to the knocker.
Author:
kymara
  • Constructor Details

    • KnockAction

      public KnockAction()
  • Method Details

    • register

      public static void register()
    • 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