Interface TurnListener
- All Known Implementing Classes:
AdosWildlifeRaid
,AdventureIslandRemover
,AfkTimeouter
,AllotmentUtilities
,AreaUseItem
,ArrestWarrantList
,AthorFerry
,BalloonScroll
,Basket
,BellSoundSource
,Bestiary
,BetManager
,BlankPetScroll
,Block
,BoardToken
,Box
,BreakableItem
,BuddyCleanup
,BugInspect
,BuilderNPC
,CaptureTheFlagFlag
,ConsumableItem
,Container
,CreatureRespawnPoint
,DamageEffect
,DamagingArea
,DaylightUpdater
,Debuggera.SightseeingAction
,DelayedPlayerTextSender
,Dice
,Door
,Drink
,DummyWeapon
,DumpGameInformationForWebsite
,EatStatusTurnListener
,EmptyScroll
,FishInspect
,FlowerGrower
,Food
,FoodMill
,GameBoardTimer
,Gate
,GateKey
,GrainField
,GroupManager
,GrowingPassiveEntityRespawnPoint
,GuaranteedDelayedPlayerTextSender
,HealingEffect
,HouseKey
,InvitationScroll
,Item
,ItemDroppingTeleporterBehaviour
,ItemInformation
,KeyDestroyingDoor
,LibrarianNPC.WikipediaWaiter
,LifeDrainArea
,LifeSupportGear
,LockedDoor
,MarkedScroll
,MasterKey
,MetalDetector
,Money
,MonologueBehaviour
,NecroStaff
,NineSwitchesGameBoard
,NorthpoleRemover
,NoStatsStackableItem
,NPCChatting
,OccupantArea
,OfferExpirer
,OnePlayerRoomDoor
,OutfitChangerBehaviour.ExpireOutfit
,OwnedItem
,PassiveEntityRespawnPoint
,PeriodicAmbientSoundSource
,PersonalChest.SyncContent
,PlayerActivityEntity.Activity
,PlayerPositionMonitoring.PlayerPositionListener
,PlayerVsPlayerChallengeAcceptedTurnListener
,PlayerVsPlayerChallengeCreatorTurnListener
,PlayerVsPlayerChallengeManager
,PoisonStatusTurnListener
,Present
,RainbowBeansScroll
,ReadAchievementsOnLogin
,ReadPostmanMessages
,RentedSignList
,ReverseArrow.FinishNotifier
,ReverseArrow.ReverseArrowCheck
,RingOfLife
,Scroll
,Seed
,SheepFood
,ShockStatusTurnListener
,Shovel
,SignFromHallOfFameLoader
,SlotActivatedItem
,SokobanBoard
,SokobanWatcher
,StackableItem
,StatusHealer
,StatusHealerEater
,StatusRemover
,StatusResistantItem
,Stocking
,StorableEntityList
,StoredChest.ChestListener
,StoreMessageAction
,StoreMessageOnBehalfOfPlayerAction
,SummonPetScroll
,SummonScroll
,SupportAnswerAction
,TeleporterBehaviour
,TeleportScroll
,TimedInvisibility
,TimedStackableItem
,TimedTeleportScroll
,Token
,TurnListenerDecorator
,TwilightElixir
,TwilightMossScroll
,Unblock
,UnblockTradeTable
,UpdatePendingAchievementsOnLogin
,VaultRemover
,VegetableGrower
,WeatherUpdater
,WeddingRing
public interface TurnListener
Implementing classes can be notified that a certain turn number has been
reached.
After registering at the TurnNotifier, the TurnNotifier will wait until the
specified turn number has been reached, and notify the TurnListener.
A string can be passed to the TurnNotifier while registering; this string
will then be passed back to the TurnListener when the specified turn number
has been reached. Using this string, a TurnListener can register itself
multiple times at the TurnNotifier.
- Author:
- hendrik
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onTurnReached(int currentTurn)
This method is called when the turn number is reached.
-
Method Details
-
onTurnReached
void onTurnReached(int currentTurn)This method is called when the turn number is reached.- Parameters:
currentTurn
- current turn number
-