Пример #1
0
 protected override void Initialize()
 {
     base.Initialize();
     Instance.SwitchScene(new LoadingScene <BasicScene>(new List <LoadingData>
     {
         new LoadingData
         {
             Count      = 15,
             Enumerator = GetEnumerator(this.Content)
         },
         new LoadingData
         {
             Count      = 47,
             Enumerator = GeonBitUIResources.GetEnumerator(this.Content, "hd")
         },
     }, 1200, 600));
 }
Пример #2
0
 protected override void Initialize()
 {
     base.Initialize();
     Instance.SwitchScene(new LoadingScene <GameChooseScene>(new List <LoadingData>
     {
         new LoadingData
         {
             Count      = 4,
             Enumerator = MultiplayerScene.GetEnumerator(this.Content)
         },
         new LoadingData
         {
             Count      = 4,
             Enumerator = SingleplayerScene.GetEnumerator(this.Content)
         },
         new LoadingData
         {
             Count      = 47,
             Enumerator = GeonBitUIResources.GetEnumerator(this.Content, "hd")
         },
     }, 1200, 600));
 }