Class Spot

java.lang.Object
games.stendhal.server.core.engine.Spot

public class Spot extends Object
a location within a zone
Author:
hendrik
  • Constructor Details

    • Spot

      public Spot(StendhalRPZone zone, int x, int y)
      is a defined place in a zone. Spots are read only
      Parameters:
      zone - must not be null
      x - x
      y - y
  • Method Details

    • getX

      public int getX()
      gets x
      Returns:
      x
    • getY

      public int getY()
      gets y
      Returns:
      y
    • getZone

      public StendhalRPZone getZone()
      gets the zone
      Returns:
      zone