Class ZonesXMLLoader.ZoneDesc

java.lang.Object
games.stendhal.server.core.config.ZonesXMLLoader.ZoneDesc
Enclosing class:
ZonesXMLLoader

protected static class ZonesXMLLoader.ZoneDesc extends Object
A zone descriptor.
  • Field Details

  • Constructor Details

    • ZoneDesc

      public ZoneDesc(String name, String file, String region, int level, int x, int y, boolean accessible)
  • Method Details

    • setImplementation

      public void setImplementation(String imclass)
    • getImplementation

      public String getImplementation()
    • addDescriptor

      public void addDescriptor(SetupDescriptor desc)
      Add a setup descriptor.
      Parameters:
      desc -
    • getFile

      public String getFile()
      Get the zone file.
      Returns:
      the file name
    • getLevel

      public int getLevel()
      Get the level.
      Returns:
      the level of the zone
    • getName

      public String getName()
      Get the zone name.
      Returns:
      the name of the zone
    • getDescriptors

      public Iterator<SetupDescriptor> getDescriptors()
      Get an iterator of setup descriptors.
      Returns:
      an iterator over the descriptors
    • getTitle

      public String getTitle()
      Gets the zone's title.
      Returns:
      the zone's title
    • getRegion

      public String getRegion()
      Returns:
      the zone's region
    • getX

      public int getX()
    • getY

      public int getY()
    • isInterior

      public boolean isInterior()
    • setTitle

      public void setTitle(String title)
      Sets the zone title.
      Parameters:
      title - of the zone
    • isAccessible

      public boolean isAccessible()
    • setAssociatedZones

      public void setAssociatedZones(String zones)
    • getAssociatedZones

      public String getAssociatedZones()