public void draw( TextureRegion tr, float width, float height, float origX, float origY, float x, float y, float rot, Color tint) { setTint(tint); if (tr instanceof TextureAtlas.AtlasRegion) { myTextureChecker.onReg((TextureAtlas.AtlasRegion) tr); } else { throw new AssertionError("Unexpected texture class"); } mySpriteBatch.draw(tr, x - origX, y - origY, origX, origY, width, height, 1, 1, rot); }