amadeus/impact-layers — pull request #2 by bsparks (2014-03-03 22:03:47+00:00)
Title: added the setScreenPos functionality to game.draw to support custom maps...

... that are not BackgroundMap instances; removed the BackgroundMap inject because it should no longer be necessary.

for my Tiled map plugin I ended up creating a new map layer class that isn't a subclass of BackgroundMap, so it wasn't able to benefit from the inject. this allows any "item" with a setScreenPos method to have it called during this time.