Class ZonesXMLLoader.ZoneDesc
java.lang.Object
games.stendhal.server.core.config.ZonesXMLLoader.ZoneDesc
- Enclosing class:
- ZonesXMLLoader
A zone descriptor.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addDescriptor(SetupDescriptor desc)
Add a setup descriptor.Get an iterator of setup descriptors.getFile()
Get the zone file.int
getLevel()
Get the level.getName()
Get the zone name.getTitle()
Gets the zone's title.int
getX()
int
getY()
boolean
boolean
void
setAssociatedZones(String zones)
void
setImplementation(String imclass)
void
Sets the zone title.
-
Field Details
-
UNSET
public static final int UNSET- See Also:
- Constant Field Values
-
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
-