private SpriteLoader() { _itemsCatalog = new Dictionary <string, Sprite>(); _characterCatalog = new Dictionary <string, Sprite>(); _groundCatalog = new Dictionary <string, Sprite>(); xmlAccess = StorageManager.GetXmlAccess(); LoadCatalog("items", ref _itemsCatalog); LoadCatalog("ground", ref _groundCatalog); LoadCatalog("character", ref _characterCatalog); }
internal XmlAccess(List <IXmlCache> caches, IXmlAccess source) { this.caches = caches; this.source = source; }