Пример #1
0
 public void UnloadScreen(Screen screen)
 {
     switch(screen.ScreenID)
     {
         case ScreenIdentity.Battle:
             battleScreen = new BattleScreen();
             battleScreen.Initialise();
             nextScreen = battleScreen;
             break;
     }
 }
Пример #2
0
        public void Initialise()
        {
            mapScreen = new MapScreen();
            mapScreen.Initialise();
            battleScreen = new BattleScreen();
            battleScreen.Initialise();
            //thanksForPlayingScreen = new ThanksForPlayingScreen();
            //thanksForPlayingScreen.Initialise();

            currentScreen = mapScreen;
            screenTransitionState = ScreenTransitionState.NewScreenIn;
        }