Class OfferExpirer
java.lang.Object
games.stendhal.server.maps.semos.tavern.market.OfferExpirer
- All Implemented Interfaces:
TurnListener
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final intTotal time in seconds before expiring an offer. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonTurnReached(int currentTurn) This method is called when the turn number is reached.
-
Field Details
-
TIME_TO_EXPIRING
protected static final int TIME_TO_EXPIRINGTotal time in seconds before expiring an offer.- See Also:
-
-
Constructor Details
-
OfferExpirer
-
-
Method Details
-
onTurnReached
public void onTurnReached(int currentTurn) Description copied from interface:TurnListenerThis method is called when the turn number is reached.- Specified by:
onTurnReachedin interfaceTurnListener- Parameters:
currentTurn- current turn number
-