do i understand the code right now? or am i getting something wrong?
private void createNewLettuce()
{
Lettuce newLettuce; = Variable for a short time
newLettuce = new Lettuce(); = Creating a new Object (stores in the Lettuce newLettuce variable)
World world; = Variable for the world
world = getWorld(); = Get the world that the actor is in
int x = Greenfoot.getRandomNumber(1600); = get random X coordinate in the width of 1600
int y = Greenfoot.getRandomNumber(900); = get random Y coordinate in the height of 900
world.addObject(newLettuce,x ,y); = adds new Object into world (in any X or Y coordinate) (you need 2 variables to do this (int X or Y)
}

