synergynetframework.appsystem.contentsystem.items.utils
Class Location

java.lang.Object
  extended by synergynetframework.appsystem.contentsystem.items.utils.Location
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class Location
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable

The Class Location.

See Also:
Serialized Form

Field Summary
 float x
          The x.
 float y
          The y.
 float z
          The z.
 
Constructor Summary
Location(float x, float y, float z)
          Instantiates a new location.
 
Method Summary
 java.lang.Object clone()
           
 float getX()
          Gets the x.
 float getY()
          Gets the y.
 float getZ()
          Gets the z.
 void setX(float x)
          Sets the x.
 void setY(float y)
          Sets the y.
 void setZ(float z)
          Sets the z.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

x

public float x
The x.


y

public float y
The y.


z

public float z
The z.

Constructor Detail

Location

public Location(float x,
                float y,
                float z)
Instantiates a new location.

Parameters:
x - the x
y - the y
z - the z
Method Detail

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Overrides:
clone in class java.lang.Object
Throws:
java.lang.CloneNotSupportedException

getX

public float getX()
Gets the x.

Returns:
the x

getY

public float getY()
Gets the y.

Returns:
the y

getZ

public float getZ()
Gets the z.

Returns:
the z

setX

public void setX(float x)
Sets the x.

Parameters:
x - the new x

setY

public void setY(float y)
Sets the y.

Parameters:
y - the new y

setZ

public void setZ(float z)
Sets the z.

Parameters:
z - the new z

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object