wiiusej
Class GForce

java.lang.Object
  extended by wiiusej.GForce

public class GForce
extends java.lang.Object

Represents gravity force on each axis.

Author:
gduche

Constructor Summary
GForce()
          Default constructor;
GForce(float xx, float yy, float zz)
          Constructor with gravity force on each axis.
 
Method Summary
 float getX()
           
 float getY()
           
 float getZ()
           
 void setX(float x)
           
 void setY(float y)
           
 void setZ(float z)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GForce

public GForce()
Default constructor;


GForce

public GForce(float xx,
              float yy,
              float zz)
Constructor with gravity force on each axis.

Parameters:
xx - x value
yy - x value
zz - x value
Method Detail

getX

public float getX()
Returns:
the x

setX

public void setX(float x)
Parameters:
x - the x to set

getY

public float getY()
Returns:
the y

setY

public void setY(float y)
Parameters:
y - the y to set

getZ

public float getZ()
Returns:
the z

setZ

public void setZ(float z)
Parameters:
z - the z to set

toString

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