Class Location
java.lang.Object
com.realtime.crossfire.jxclient.map.Location
A location on the map.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Location
public Location(int x, int y, int layer) Creates a new location.- Parameters:
x- the x-coordinatey- the y-coordinatelayer- the layer
-
-
Method Details
-
getX
public int getX()Returns the x-coordinate.- Returns:
- the x-coordinate
-
getY
public int getY()Returns the y-coordinate.- Returns:
- the y-coordinate
-
getLayer
public int getLayer()Returns the layer.- Returns:
- the layer
-
equals
-
hashCode
public int hashCode() -
toString
-