예제 #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);