Пример #1
0
        public void IncrementDrawLoopLoad(AssetLibrary assetLibrary, SpriteBatch spriteBatch)
        {
            if (this.tree.IsDoneDrawLoading())
            {
                return;
            }

            this.tree.DrawLoadNextThing(spriteBatch);
        }
Пример #2
0
 public override void Load(AssetLibrary library)
 {
     library.LoadSpriteFont(this.assetPath);
 }
Пример #3
0
 public override void Load(AssetLibrary library)
 {
     library.LoadSoundEffect(this.assetPath);
 }
Пример #4
0
 public override void Load(AssetLibrary library)
 {
     library.LoadTexture(this.assetPath);
 }
Пример #5
0
 public override void Load(AssetLibrary library)
 {
     library.AddMachinaAsset(this.assetPath, this.callback());
 }
Пример #6
0
 public AssetLoader(AssetLibrary library)
 {
     this.library = library;
 }
Пример #7
0
 public void Load(AssetLibrary library, SpriteBatch spriteBatch)
 {
     this.callback(spriteBatch);
 }
Пример #8
0
 public abstract void Load(AssetLibrary library);