Class Location

java.lang.Object
  extended by Location

public class Location
extends java.lang.Object

Location.java - Used for passing a location to other functions and such.


Field Summary
Modifier and Type Field and Description
 float rotX
          Rotation
 float rotY
          Pitch
 double x
          X location
 double y
          Y location
 double z
          Z location
 
Constructor Summary
Constructor and Description
Location()
          Creates a location
Location(double X, double Y, double Z)
          Creates a location with the specified coordinates
Location(double X, double Y, double Z, float rotation, float pitch)
          Creates a location with the specified coordinates and rotation
 
Method Summary
Modifier and Type Method and Description
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

x

public double x
X location


z

public double z
Z location


y

public double y
Y location


rotX

public float rotX
Rotation


rotY

public float rotY
Pitch

Constructor Detail

Location

public Location()
Creates a location


Location

public Location(double X,
                double Y,
                double Z)
Creates a location with the specified coordinates

Parameters:
X -
Y -
Z -

Location

public Location(double X,
                double Y,
                double Z,
                float rotation,
                float pitch)
Creates a location with the specified coordinates and rotation

Parameters:
X -
Y -
Z -
rotation -
pitch -