public class GameObject
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
double |
distance |
| Constructor and Description |
|---|
GameObject() |
| Modifier and Type | Method and Description |
|---|---|
double |
getDistance() |
int |
getType()
Returns the type of the object
|
void |
setDistance(double distance) |