Class ZonesXMLLoader.ZoneDesc
java.lang.Object
games.stendhal.server.core.config.ZonesXMLLoader.ZoneDesc
- Enclosing class:
- ZonesXMLLoader
A zone descriptor.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddDescriptor(SetupDescriptor desc) Add a setup descriptor.Get an iterator of setup descriptors.getFile()Get the zone file.intgetLevel()Get the level.getName()Get the zone name.getTitle()Gets the zone's title.intgetX()intgetY()booleanbooleanvoidsetAssociatedZones(String zones) voidsetImplementation(String imclass) voidSets the zone title.
-
Field Details
-
UNSET
public static final int UNSET- See Also:
-
name
-
file
-
title
-
region
-
level
protected int level -
x
protected int x -
y
protected int y -
descriptors
-
-
Constructor Details
-
ZoneDesc
-
-
Method Details
-
setImplementation
-
getImplementation
-
addDescriptor
Add a setup descriptor.- Parameters:
desc-
-
getFile
Get the zone file.- Returns:
- the file name
-
getLevel
public int getLevel()Get the level.- Returns:
- the level of the zone
-
getName
Get the zone name.- Returns:
- the name of the zone
-
getDescriptors
Get an iterator of setup descriptors.- Returns:
- an iterator over the descriptors
-
getTitle
Gets the zone's title.- Returns:
- the zone's title
-
getRegion
- Returns:
- the zone's region
-
getX
public int getX() -
getY
public int getY() -
isInterior
public boolean isInterior() -
setTitle
Sets the zone title.- Parameters:
title- of the zone
-
isAccessible
public boolean isAccessible() -
setAssociatedZones
-
getAssociatedZones
-