added parameter to SpriteBatcher constructor.