I want to introduce two actors from the world, appearing in the center of the world and be falling.
public class MONDO extends World { int tiempo= 0; int n=0; public MONDO() { tiempo ++; if (tiempo==50) { int n=Greenfoot.getRandonNumber.getWidth()-20; switch ( Greenfoot.getRandomNumber(2) ) { case 1: while addObject(new MON1(), n, getHeight()-20); case 2: while addObject(new MON2(),n, getHeght()-20); } tiempo=0 } } }