Hey. so im making a game where turtles eat food (i know its not that advanced :P anyway) and i want the food to respawn after they have eaten it, this is the code i typed in World Class
private void addWorms()
{
if(getObjects(Lettuce.class).size() ==0 ) addLettuce();}
}
but it says "illegal start of expression" can anyone help me? please //erdrag

