I cant figure out how to get 5 Flies and 5 bees to appear
private void prepare()
{
Actor[] actor = {new Fly(), new Bee()};
for(int i = 0; i<actor.length;i++)
{
int flyX = Greenfoot.getRandomNumber(getWidth());
int flyY = Greenfoot.getRandomNumber(getHeight());
addObject(actor[i],flyX,flyY);
}
}
