wiiusej.values
Class GForce

java.lang.Object
  extended by wiiusej.values.GForce

public class GForce
extends java.lang.Object

Represents gravity force on each axis.

Author:
guiguito

Field Summary
private  float x
           
private  float y
           
private  float z
           
 
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()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

x

private float x

y

private float y

z

private float z
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

getY

public float getY()
Returns:
the y

getZ

public float getZ()
Returns:
the z

toString

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