for(int i = 0; i < 10; i++) { addObject(new Block(),(100+10*i),100); //add something? }
for(int i = 0; i < 10; i++) { addObject(new Block(),(100+10*i),100); //add something? }
for (int i=0; i<10; i++) { addObject(new Block(), (100+10*i), 100); repaint(); Greenfoot.delay(15); }
for (int i=0; i<10; i++) { addObject(new Block(), (100+10*i), 100); repaint(); Greenfoot.delay(15); }
// add instance field to world class private Boolean hasStarted; // create a 'started' method public void started() { for (int i=0; i<10; i++) { addObject(new Block(), (100+10*i), 100); Greenfoot.delay(15); } }
// add instance field to world class private Boolean hasStarted; // create a 'started' method public void started() { for (int i=0; i<10; i++) { addObject(new Block(), (100+10*i), 100); Greenfoot.delay(15); } }