示例#1
0
        public AssetHandler(string extentionName, string directoryName, ContentManager contentManager, AssetsManager assetManager)
        {
            this.directoryName = directoryName;
            this.extentionName = extentionName;

            assets = new Dictionary <string, Asset>();
            this.contentManager = contentManager;
            this.assetManager   = assetManager;
        }
示例#2
0
 public AssetHandlerSong(ContentManager contentManager, AssetsManager assetsManager) : base(".xnb", "Sounds/Songs", contentManager, assetsManager)
 {
 }
示例#3
0
 public AssetHandlerGeneric(string extentionName, string directoryName, ContentManager contentManager, AssetsManager assetManager) : base(extentionName, directoryName, contentManager, assetManager)
 {
 }
示例#4
0
 public AssetHandlerFont(ContentManager contentManager, AssetsManager assetManager) : base(".xnb", "Fonts", contentManager, assetManager)
 {
 }
 public AssetHandlerTexture2D(ContentManager contentManager, AssetsManager assetsManager) : base(".xnb", "Textures", contentManager, assetsManager)
 {
 }
示例#6
0
 public AssetHandlerSoundEffect(ContentManager contentManager, AssetsManager assetsManager) : base(".xnb", "Sounds/Effects", contentManager, assetsManager)
 {
 }
示例#7
0
 public AssetHandlerModel(ContentManager contentManager, AssetsManager assetsManager) : base(".xnb", "Models", contentManager, assetsManager)
 {
 }
示例#8
0
 public AssetReference(AssetsManager assetsManager, string name)
 {
     this.assetsManager = assetsManager;
     this.name          = name;
 }