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 Type
    Method
    Description
    void
    Called when the user is changing zone.
    void
    Called when the user has changed zone.
    void
    Called when the zone is updated, such as when the coloring changes.
  • Method Details

    • onZoneChange

      void onZoneChange(Zone zone)
      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

      void onZoneChangeCompleted(Zone zone)
      Called when the user has changed zone.
      Parameters:
      zone - the new zone
    • onZoneUpdate

      void onZoneUpdate(Zone zone)
      Called when the zone is updated, such as when the coloring changes.
      Parameters:
      zone - the updated zone