Package games.stendhal.client
Interface StendhalClient.ZoneChangeListener
- All Known Implementing Classes:
GameScreen
,MapPanelController
,WeatherSoundManager
- Enclosing class:
- StendhalClient
public static interface StendhalClient.ZoneChangeListener
Interface for listeners that need to be informed when the user is
changing zone.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onZoneChange(Zone zone)
Called when the user is changing zone.void
onZoneChangeCompleted(Zone zone)
Called when the user has changed zone.void
onZoneUpdate(Zone zone)
Called when the zone is updated, such as when the coloring changes.
-
Method Details
-
onZoneChange
Called when the user is changing zone.- Parameters:
zone
- the new zone to be changed to. This is not guaranteed to have complete zone data at this stage.
-
onZoneChangeCompleted
Called when the user has changed zone.- Parameters:
zone
- the new zone
-
onZoneUpdate
Called when the zone is updated, such as when the coloring changes.- Parameters:
zone
- the updated zone
-