[GREENFOOT-134] add setForgroundImage to World class
It'd be really nice to have some kind of overlay feature. If we want to say display a users score or scenario info currently we have to make an actor, then work out the size, place it, etc. If we could just make an image and set it to the World's foreground then we could do overlay things a lot easier.
Usage would be something like:
{noformat} public MyWorld() { GreenfootImage foreground = new GreenfootImage(); // draw to foreground image setForeground(foreground); } {noformat}
Issue metadata
- Issue type: Task
- Priority: Low
- Fix versions: 2.0