Location
wherever possible@Deprecated
public class Location
extends java.lang.Object
Constructor and Description |
---|
Location(LocalWorld world,
Vector position)
Deprecated.
|
Location(LocalWorld world,
Vector position,
float yaw,
float pitch)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Location |
add(double x,
double y,
double z)
Deprecated.
|
Location |
add(Vector other)
Deprecated.
|
boolean |
equals(java.lang.Object obj)
Deprecated.
|
static Location |
fromEye(LocalWorld world,
Vector start,
Vector eye)
Deprecated.
|
static Location |
fromLookAt(LocalWorld world,
Vector start,
Vector lookAt)
Deprecated.
|
Vector |
getDirection()
Deprecated.
|
float |
getPitch()
Deprecated.
|
Vector |
getPosition()
Deprecated.
|
LocalWorld |
getWorld()
Deprecated.
|
float |
getYaw()
Deprecated.
|
int |
hashCode()
Deprecated.
|
Location |
setAngles(float yaw,
float pitch)
Deprecated.
|
Location |
setPosition(Vector position)
Deprecated.
|
java.lang.String |
toString()
Deprecated.
|
public Location(LocalWorld world, Vector position)
public Location(LocalWorld world, Vector position, float yaw, float pitch)
public LocalWorld getWorld()
public Vector getPosition()
public float getYaw()
public float getPitch()
public Location setAngles(float yaw, float pitch)
public Location add(double x, double y, double z)
public Vector getDirection()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public static Location fromLookAt(LocalWorld world, Vector start, Vector lookAt)
public static Location fromEye(LocalWorld world, Vector start, Vector eye)