示例#1
0
    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);
    }
示例#2
0
 internal XmlAccess(List <IXmlCache> caches, IXmlAccess source)
 {
     this.caches = caches;
     this.source = source;
 }