public class Goal extends FieldObject
| Modifier and Type | Field and Description |
|---|---|
int |
side |
positiondistance| 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, setPositiongetDistance, setDistancepublic int getType()
GameObjectgetType in class GameObjectpublic int getSide()