Class LocationCoordinate
java.lang.Object
org.incendo.cloud.bukkit.parser.location.LocationCoordinate
Single coordinate with a type
- Since:
- 1.1.0
-
Method Summary
Modifier and TypeMethodDescriptiondoubleReturns the coordinate.booleaninthashCode()static @NonNull LocationCoordinateof(@NonNull LocationCoordinateType type, double coordinate) Create a new location coordinatetoString()type()Returns the coordinate type.
-
Method Details
-
of
public static @NonNull LocationCoordinate of(@NonNull LocationCoordinateType type, double coordinate) Create a new location coordinate- Parameters:
type- Coordinate typecoordinate- Coordinate- Returns:
- Created coordinate instance
-
type
Returns the coordinate type.- Returns:
- coordinate type
-
coordinate
public double coordinate()Returns the coordinate.- Returns:
- coordinate
-
equals
-
hashCode
public int hashCode() -
toString
-