Commons/src/main/java/eu/univento/commons/helpers/Location.java

49 lines
851 B
Java

package eu.univento.commons.helpers;
/**
* @author joethei
* @version 1.0
*/
public class Location {
private final String world;
private final double x;
private final double y;
private final double z;
private final float pitch;
private final float yaw;
public Location(String world, double x, double y, double z, float pitch, float yaw) {
this.world = world;
this.x = x;
this.y = y;
this.z = z;
this.pitch = pitch;
this.yaw = yaw;
}
public String getWorld() {
return world;
}
public double getX() {
return x;
}
public double getY() {
return y;
}
public double getZ() {
return z;
}
public float getPitch() {
return pitch;
}
public float getYaw() {
return yaw;
}
}