Hi, I keep getting this error message and am having trouble fixing it:
java.lang.IllegalArgumentException: n must be positive
This is my code:
public BalloonWorld()
{
super(500, 600, 1);
for(int d=0; d<5; d++) {
addObject(new Balloon(),Greenfoot.getRandomNumber(getWidth()),Greenfoot.getRandomNumber(getHeight()/4));
}
}

