コード例 #1
0
ファイル: AssetManager.cs プロジェクト: AnnexGameDev/Annex
 public AssetManager(AssetType type, IAssetLoader assetLoader, IAssetInitializer assetInitializer)
 {
     this.AssetType        = type;
     this.AssetLoader      = assetLoader;
     this.AssetInitializer = assetInitializer;
 }
コード例 #2
0
 public CachedAssetManager(AssetType type, IAssetLoader assetLoader, IAssetInitializer assetInitializer)
     : base(type, assetLoader, assetInitializer)
 {
     this._assets = new Dictionary <string, object>();
 }
コード例 #3
0
ファイル: PakAssetManager.cs プロジェクト: AnnexGameDev/Annex
 public PakAssetManager(AssetType type, string pakFilePath, IAssetInitializer assetLoader)
     : base(type, new PakLoader(PakFile.CreateForInput(pakFilePath)), assetLoader)
 {
 }