Class OfferExpirer
java.lang.Object
games.stendhal.server.maps.semos.tavern.market.OfferExpirer
- All Implemented Interfaces:
TurnListener
-
Field Summary
Modifier and TypeFieldDescriptionprotected static int
Total time in seconds before expiring an offer. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onTurnReached(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:
- Constant Field Values
-
-
Constructor Details
-
OfferExpirer
-
-
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 interfaceTurnListener
- Parameters:
currentTurn
- current turn number
-