Hello there,
I want to spawn a new actor random in my World. But i dont want it to spawn on another actor.
I know how to spawn it random anywhere. But how can I exclude it to spawn on the moving object. It can be randomly everywhere in the World.
1 2 3 | public void addApple(){ addObject( new Apple(),Greenfoot.getRandomNumber( 17 ),Greenfoot.getRandomNumber( 15 )); } |