public GameOverScreen(Game i_Game, PlayGameScreen i_GameScreen, LevelTransitionScreeen i_TransitionScreen)
     : base(i_Game)
 {
     m_GameScreen          = i_GameScreen;
     m_TransitionionScreen = i_TransitionScreen;
     this.IsModal          = true;
     this.IsOverlayed      = true;
 }
Example #2
0
        public WelcomeScreen(Game i_Game, PlayGameScreen i_GameScreen, LevelTransitionScreeen i_TransitionScreen)
            : base(i_Game)
        {
            m_GameScreen          = i_GameScreen;
            m_TransitionionScreen = i_TransitionScreen;
            m_Background          = new Background(i_Game, this, @"Sprites\BG_Space01_1024x768", 1);
            this.Add(m_Background);

            m_WelcomeMessage = new Sprite(this.Game, this, @"Sprites\SpaceInvadersLogo");
            this.Add(m_WelcomeMessage);
        }