Linking SpriteAtlas to XMLReader