Class TradeAction

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

public class TradeAction extends Object implements ActionListener
handles trade related actions.
Author:
hendrik
  • Constructor Details

    • TradeAction

      public TradeAction()
  • Method Details

    • register

      public static void register()
      registers the trade action
    • onAction

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