spritebatch is now in gfx.dart to be private