Class PrepareOfferHandler

java.lang.Object
games.stendhal.server.maps.semos.tavern.market.PrepareOfferHandler

public class PrepareOfferHandler extends Object
  • Constructor Details

    • PrepareOfferHandler

      public PrepareOfferHandler()
  • Method Details

    • add

      public void add(SpeakerNPC npc)
    • buildTweetMessage

      public String buildTweetMessage(Item i, int q, int p)
      Builds the message for the tweet to be posted
      Parameters:
      i - the offered item
      q - the quantity of the offered item
      p - the price for the item
      Returns:
      the message to be posted in the tweet