public class Goal extends FieldObject
Modifier and Type | Field and Description |
---|---|
int |
side |
position
distance
Constructor and Description |
---|
Goal(java.awt.geom.Point2D.Double pos,
int side) |
Modifier and Type | Method and Description |
---|---|
int |
getSide() |
int |
getType()
Returns the type of the object
|
getPosition, setPosition
getDistance, setDistance
public int getType()
GameObject
getType
in class GameObject
public int getSide()