public class Food extends Bird
DetectionRange, SeparationRange| Constructor and Description |
|---|
Food(float x,
float y)
This is the constructor for the food.
|
| Modifier and Type | Method and Description |
|---|---|
void |
move(int angle)
The food class overrides the move function to do nothing.
|
getColor, getDistance, getDistance, getLocation, getMaxTurnTheta, getRepresentation, getTheta, move, setLocation, setMaxTurnTheta, setRepresentation, setSpeed, updateRepresentationPosition, updateRepresentationRotation