[GREENFOOT-139] change behaviour of World::getBackground()
The getBackground() method in World should return the image as seen on screen, not the source image it was created from.
The difference is tiling: if the source image is 60x60, and the world is 400x400, then getBackground should return a 400x400 image. Currently, this is not the case. The problem is drawing: If I try to draw a line from 200, 200 to 300, 200, currently it won't show, because that's outside the source image...
Issue metadata
- Issue type: Bug
- Priority: Low
- Fix versions: 1.5.0