public void HandleBatchGraphicsLoaded(ILoadBatch <IGraphic2D> batch) { var startupScene = new StartupScene(new TimeSpan(0, 0, 5)); MainGame.Instance.PopScene(); MainGame.Instance.PushScene(startupScene); }
public void HandleGraphicBatchLoaded(ILoadBatch <IGraphic2D> batch) { if (batch.Id == GlobalConfig.StartupGraphicBatchId) { MainGame.Instance.GraphicsManager.LoadBatchGraphicsAsync(batch.Id); } }
public bool ContainsBatch(ILoadBatch <IControl> batch) { return(_controlBatches.ContainsKey(batch.Id)); }
public void HandleBatchGraphicsLoaded(ILoadBatch <IGraphic2D> batch) { _fullyLoaded = true; }
public bool ContainsBatch(ILoadBatch <IGraphic2D> batch) { return(_graphicBatches.ContainsKey(batch.Id)); }