How can I add a object at a random place, but at the edge of the screen. The object comes "from above/underneath/the side" of the world.
When I use:
The object appears only in the bottom right corner of the world.
Thank you guys in advance!!
getWorld().addObject( new Dementor(), getWorld().getWidth(), getWorld().getHeight()
