Package xyz.jpenilla.squaremap.api
Class Point
java.lang.Object
xyz.jpenilla.squaremap.api.Point
Represents a point on a map in the XZ plane. May be relative or absolute depending on the context
-
Method Details
-
x
public double x()Get the x position of this point- Returns:
- x
-
z
public double z()Get the z position of this point- Returns:
- z
-
of
Create a new point from an x and z position- Parameters:
x- x positionz- z position- Returns:
- point
-
point
Create a new point from an x and z position- Parameters:
x- x positionz- z position- Returns:
- point
-
equals
-
hashCode
public int hashCode()
-