java.lang.Object
games.stendhal.server.maps.semos.tavern.market.OfferExpirer
All Implemented Interfaces:
TurnListener

public class OfferExpirer extends Object implements TurnListener
  • Field Details

    • TIME_TO_EXPIRING

      protected static final int TIME_TO_EXPIRING
      Total time in seconds before expiring an offer.
      See Also:
      Constant Field Values
  • Constructor Details

    • OfferExpirer

      public OfferExpirer(Market market)
  • Method Details

    • onTurnReached

      public void onTurnReached(int currentTurn)
      Description copied from interface: TurnListener
      This method is called when the turn number is reached.
      Specified by:
      onTurnReached in interface TurnListener
      Parameters:
      currentTurn - current turn number