Class PersonalChest.SyncContent
java.lang.Object
games.stendhal.server.entity.mapstuff.chest.PersonalChest.SyncContent
- All Implemented Interfaces:
TurnListener
- Enclosing class:
- PersonalChest
A listener for syncing the slot contents.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonTurnReached(int currentTurn) This method is called when the turn number is reached.
-
Constructor Details
-
SyncContent
protected SyncContent()
-
-
Method Details
-
onTurnReached
public void onTurnReached(int currentTurn) This method is called when the turn number is reached.- Specified by:
onTurnReachedin interfaceTurnListener- Parameters:
currentTurn- The current turn number.
-