@ -26,4 +26,9 @@ public class Apple
position.setLocation(newPosition);
}
public Point getPosition()
{
return position;