Exemplo n.º 1
0
        public void IncrementDrawLoopLoad(AssetLibrary assetLibrary, SpriteBatch spriteBatch)
        {
            if (this.tree.IsDoneDrawLoading())
            {
                return;
            }

            this.tree.DrawLoadNextThing(spriteBatch);
        }
Exemplo n.º 2
0
 public override void Load(AssetLibrary library)
 {
     library.LoadSpriteFont(this.assetPath);
 }
Exemplo n.º 3
0
 public override void Load(AssetLibrary library)
 {
     library.LoadSoundEffect(this.assetPath);
 }
Exemplo n.º 4
0
 public override void Load(AssetLibrary library)
 {
     library.LoadTexture(this.assetPath);
 }
Exemplo n.º 5
0
 public override void Load(AssetLibrary library)
 {
     library.AddMachinaAsset(this.assetPath, this.callback());
 }
Exemplo n.º 6
0
 public AssetLoader(AssetLibrary library)
 {
     this.library = library;
 }
Exemplo n.º 7
0
 public void Load(AssetLibrary library, SpriteBatch spriteBatch)
 {
     this.callback(spriteBatch);
 }
Exemplo n.º 8
0
 public abstract void Load(AssetLibrary library);