Class GrumpyAction

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

public class GrumpyAction extends Object implements ActionListener
enables a player to mark himself/herself as grumpy to prevent messages from non-friends.
Author:
hendrik
  • Constructor Details

    • GrumpyAction

      public GrumpyAction()
  • Method Details

    • onAction

      public void onAction(Player player, RPAction action)
      Handle a Grumpy action.
      Specified by:
      onAction in interface ActionListener
      Parameters:
      player - The player.
      action - The action.