Class OutfitAction

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

public class OutfitAction extends Object implements ActionListener
Changes the outfit for the player
  • Constructor Details

    • OutfitAction

      public OutfitAction()
  • Method Details

    • register

      public static void register()
    • onAction

      public void onAction(Player player, RPAction action)
      Changes Player's outfit to the value provided in action.
      Specified by:
      onAction in interface ActionListener
      Parameters:
      player - whose outfit is to be changed. Must not be null.
      action - the action containing the outfit info in the attribute 'value'. Must not be null.