wiiusej
Class GForce
java.lang.Object
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. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
GForce
public GForce()
- Default constructor;
GForce
public GForce(float xx,
float yy,
float zz)
- Constructor with gravity force on each axis.
- Parameters:
xx - x valueyy - x valuezz - x value
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