Ejemplo n.º 1
0
        public override void Initialize()
        {
            homescreen = new HomeScreen();
            homescreen.Initialize();
            homescreen.Visible = true;

            chooseDifficulty = new ChooseDifficulty();
            chooseDifficulty.Initialize();
            chooseDifficulty.Visible = false;
            base.Initialize();
        }
Ejemplo n.º 2
0
        private void SetupScreens()
        {
            _homeScreen = HomeScreen.Instance;
            _homeScreen.Initialize(Content);

            _cinematicScreen = CinematicScreen.Instance;
            _cinematicScreen.Initialize(Content);

            _instructionScreen = InstructionScreen.Instance;
            _instructionScreen.Initialize(Content);

            _mainScreen = MainScreen.Instance;
            _mainScreen.Initialize(Content);

            _gameOverScreen = GameOverScreen.Instance;
            _gameOverScreen.Initialize(Content);
        }