Class Spot
java.lang.Object
games.stendhal.server.core.engine.Spot
a location within a zone
- Author:
- hendrik
-
Constructor Details
-
Spot
is a defined place in a zone. Spots are read only- Parameters:
zone
- must not be nullx
- xy
- y
-
-
Method Details
-
getX
public int getX()gets x- Returns:
- x
-
getY
public int getY()gets y- Returns:
- y
-
getZone
gets the zone- Returns:
- zone
-