Package me.therealkeyis.models
Class LocationPair
java.lang.Object
me.therealkeyis.models.LocationPair
A pair of coordinates
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionLocationPair(double x, double z) Creates a location pair from the provided coordinatesLocationPair(org.bukkit.event.player.PlayerInteractEvent event) Creates a location pair from a PlayerInteractionEvent -
Method Summary
-
Field Details
-
x
public double xThe x value for the location -
z
public double zThe z value for the location
-
-
Constructor Details
-
LocationPair
public LocationPair(org.bukkit.event.player.PlayerInteractEvent event) Creates a location pair from a PlayerInteractionEvent- Parameters:
event- A player interaction event
-
LocationPair
public LocationPair(double x, double z) Creates a location pair from the provided coordinates- Parameters:
x- the x coordinatez- the z coordinate
-