Esempio n. 1
0
        public void HandleBatchGraphicsLoaded(ILoadBatch <IGraphic2D> batch)
        {
            var startupScene = new StartupScene(new TimeSpan(0, 0, 5));

            MainGame.Instance.PopScene();
            MainGame.Instance.PushScene(startupScene);
        }
Esempio n. 2
0
 public void HandleGraphicBatchLoaded(ILoadBatch <IGraphic2D> batch)
 {
     if (batch.Id == GlobalConfig.StartupGraphicBatchId)
     {
         MainGame.Instance.GraphicsManager.LoadBatchGraphicsAsync(batch.Id);
     }
 }
Esempio n. 3
0
 public bool ContainsBatch(ILoadBatch <IControl> batch)
 {
     return(_controlBatches.ContainsKey(batch.Id));
 }
Esempio n. 4
0
 public void HandleBatchGraphicsLoaded(ILoadBatch <IGraphic2D> batch)
 {
     _fullyLoaded = true;
 }
Esempio n. 5
0
 public bool ContainsBatch(ILoadBatch <IGraphic2D> batch)
 {
     return(_graphicBatches.ContainsKey(batch.Id));
 }