public LevelTransitionScreen(Game i_Game)
     : base(i_Game)
 {
     ActivationLength = r_TimeForActivation;
     m_Count = r_TimeForActivation;
     r_Background = new Background(this, @"Sprites\BG_Space01_1024x768", 1);
 }
        public GameOverScreen(Game i_Game)
            : base(i_Game)
        {
            r_Background = new Background(this, @"Sprites\BG_Space01_1024x768", 1);
            r_Background.TintColor = Color.DarkOrange;

            r_SettingsManager = Game.Services.GetService<ISettingsManager>();
            r_GameOverMessage = new Sprite(@"Sprites\GameOverMessage", this);
        }
        public PlayScreen(Game i_Game)
            : base(i_Game)
        {
            r_Background = new Background(this, @"Sprites\BG_Space01_1024x768", 1f);
            r_PlayersManager = new PlayersManager(this);
            r_PlayersManager.AllPlayersDied += onGameLost;

            r_BarrierComposer = new BarrierComposer(this);
            r_MotherShipDeployer = new MotherShipDeployer(this);

            r_InvaderGrid = new InvaderGrid(this);
            r_InvaderGrid.InvaderReachedBottom += onGameLost;
            r_InvaderGrid.AllEnemiesDied += onAllEnemiesDied;

            r_PauseScreen = new PauseScreen(this);

            UseFadeTransition = true;
            BlendState = BlendState.NonPremultiplied;
            SpritesSortMode = SpriteSortMode.Deferred;
        }
 public WelcomeScreen(Game i_Game)
     : base(i_Game)
 {
     r_Background = new Background(this, @"Sprites\BG_Space01_1024x768", 1);
     r_WelcomeMessage = new Sprite(@"Sprites\WelcomeMessage", this);
 }