public class Acceleration
extends java.lang.Object
| Constructor and Description |
|---|
Acceleration(float x,
float y,
float z) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
java.lang.String |
toString() |
float |
x()
Gets the acceleration on the x-axis
|
float |
y()
Gets the acceleration on the y-axis
|
float |
z()
Gets the acceleration on the z-axis
|
public float x()
public float y()
public float z()
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object