//Texture2D powerupsBackground;
        //Sprite coin;

        public override void Activate(bool instancePreserved)
        {
            EnabledGestures = GestureType.Tap | GestureType.Flick | GestureType.HorizontalDrag | GestureType.DragComplete;
            ContentManager content = ScreenManager.Game.Content;

            //background = content.Load<Texture2D>("GameScreens\\Instructions");
            UIBackground = content.Load<Texture2D>("GameScreens\\UIdescriptionBG");
            //powerupsBackground = content.Load<Texture2D>("GameScreens\\Instructions2");
            Button = content.Load<Texture2D>("GameScreens\\Buttons\\B_TransparentMedium");
            buttonFont = content.Load<SpriteFont>("menufont");
            buttonFontSmall = content.Load<SpriteFont>("menufont12");

            //coin = new Sprite(Config.CoinSpriteSheet);

            practise = new ButtonControl(Button, new Vector2(460, 370), "Practise", buttonFont);
            practise.Tapped += new EventHandler<EventArgs>(practiseButton_Tapped);

            //RootControl = new Control();
            RootControl = new PageFlipControl();
 
            instPanel = new LevelDescriptionPanel(content, "GameScreens\\Instructions");
            UIPanel = new LevelDescriptionPanel(content, "GameScreens\\UIdescription");
            powerupsPanel = new LevelDescriptionPanel(content, "GameScreens\\Instructions2");

            RootControl.AddChild(instPanel);
            RootControl.AddChild(powerupsPanel);
            RootControl.AddChild(UIPanel);
            //RootControl.AddChild(practise);
            instPanel.AddChild(practise);
            

            base.Activate(instancePreserved);
        }
        public override void Activate(bool instancePreserved)
        {
            EnabledGestures = GestureType.Tap;
            ContentManager content = ScreenManager.Game.Content;

            background = content.Load<Texture2D>("GameScreens\\BackgroundPanel");
            Button = content.Load<Texture2D>("GameScreens\\Buttons\\B_TransparentMedium");
            buttonFont = content.Load<SpriteFont>("menufont");
            buttonFontSmall = content.Load<SpriteFont>("menufont12");

            titleFont = content.Load<SpriteFont>("Fonts\\Pericles22");
            topScoreFont = content.Load<SpriteFont>("Fonts\\Pericles");
            scoreFont = content.Load<SpriteFont>("Fonts\\Andy18");
            descriptionFont16 = content.Load<SpriteFont>("Fonts\\Andy16");
            descriptionFont18 = content.Load<SpriteFont>("Fonts\\Andy18");

            coin = new Sprite(Config.CoinSpriteSheet);

            autoFireButton = new ButtonControl(Button, new Vector2(60, 350), "Auto Aim/Fire:", buttonFont, string.Empty, buttonFont, false);
            autoFireButton.Tapped += new EventHandler<EventArgs>(autoFireButton_Tapped);

            beginButton = new ButtonControl(Button, new Vector2(440, 350), "Start!", buttonFont);
            beginButton.Tapped += new EventHandler<EventArgs>(beginButton_Tapped);

            SetMenuEntryText();

            RootControl = new Control();
            RootControl.AddChild(autoFireButton);
            RootControl.AddChild(beginButton);

            if (Guide.IsTrialMode)
                coinCap = "/5,000 - (10,000 in full version)";
            else
                coinCap = "/10,000";

            base.Activate(instancePreserved);
        }
        //ButtonControl ship2Mods;
        //ButtonControl ship3Mods;

        public override void Activate(bool instancePreserved)
        {
            EnabledGestures = GestureType.Tap;
            ContentManager content = ScreenManager.Game.Content;

            Button = content.Load<Texture2D>("GameScreens\\Buttons\\B_Transparent");
            RoundButton = content.Load<Texture2D>("GameScreens\\Buttons\\B_Round");
            background = content.Load<Texture2D>("Background\\stars6");
            buttonFont = content.Load<SpriteFont>("menufont");
            buttonFontSmall = content.Load<SpriteFont>("menufont12");

            ship1 = content.Load<Texture2D>("GameScreens\\ship1");
            ship2 = content.Load<Texture2D>("GameScreens\\ship2");
            ship3 = content.Load<Texture2D>("GameScreens\\ship3");

            if (Guide.IsTrialMode)
            {
                coinCap = "/5,000 - (10,000 in full game)";
                if (Config.Coins > 5000)
                    Config.Coins = 5000;
            }
            else
            {
                coinCap = "/10,000";
                if (Config.Coins > 10000)
                    Config.Coins = 10000;
            }

            coin = new Sprite(Config.CoinSpriteSheet);

            ParticleEffects.Initialize(ScreenManager.GraphicsDeviceManager, ScreenManager.GraphicsDevice);
            ParticleEffects.LoadContent(content);

            RootControl = new Control();

            if (Config.ship1Active)
                ship1Upgrade = new ButtonControl(Button, new Vector2(200, 60), "Active", buttonFont, "Ability: Heal 10 HP + 20 Shields\nPassive: Shield Powerups +25%", buttonFontSmall, true);
            else
                ship1Upgrade = new ButtonControl(Button, new Vector2(200, 60), "Select", buttonFont, "Ability: Heal 10 HP + 20 Shields\nPassive: Shield Powerups +25%", buttonFontSmall, true);
            ship1Upgrade.Tapped += new EventHandler<EventArgs>(ship1UpgradeButton_Tapped);

            if (Config.ship2Locked)
                ship2Upgrade = new ButtonControl(Button, new Vector2(200, 190), "Unlock - 10,000g", buttonFont, "Ability: Area Damage Attack\nPassive: Rapid Fire +20% duration", buttonFontSmall, true);
            else if (Config.ship2Active)
                ship2Upgrade = new ButtonControl(Button, new Vector2(200, 190), "Active", buttonFont, "Ability: Area Damage Attack\nPassive: Rapid Fire +20% duration", buttonFontSmall, true);
            else
                ship2Upgrade = new ButtonControl(Button, new Vector2(200, 190), "Select", buttonFont, "Ability: Area Damage Attack\nPassive: Rapid Fire +20% duration", buttonFontSmall, true);
            ship2Upgrade.Tapped += new EventHandler<EventArgs>(ship2UpgradeButton_Tapped);

            if (Config.ship3Locked)
                ship3Upgrade = new ButtonControl(Button, new Vector2(200, 320), "Unlock - 10,000g", buttonFont, "Ability: Immune + Pull all powerups\nPassive: Powerup attract range +25%", buttonFontSmall, true);
            else if (Config.ship3Active)
                ship3Upgrade = new ButtonControl(Button, new Vector2(200, 320), "Active", buttonFont, "Ability: Immune + Pull all powerups\nPassive: Powerup attract range +25%", buttonFontSmall, true);
            else
                ship3Upgrade = new ButtonControl(Button, new Vector2(200, 320), "Select", buttonFont, "Ability: Immune + Pull all powerups\nPassive: Powerup attract range +25%", buttonFontSmall, true);
            ship3Upgrade.Tapped += new EventHandler<EventArgs>(ship3UpgradeButton_Tapped);

            ship1Mods = new ButtonControl(RoundButton, new Vector2(650, 60), "Mods", buttonFont);
            ship1Mods.Tapped += new EventHandler<EventArgs>(ship1Mods_Tapped);

            //ship2Mods = new ButtonControl(RoundButton, new Vector2(650, 190), "Mods", buttonFont);
            //ship2Mods.Tapped += new EventHandler<EventArgs>(ship2Mods_Tapped);

            //ship3Mods = new ButtonControl(RoundButton, new Vector2(650, 320), "Mods", buttonFont);
            //ship3Mods.Tapped += new EventHandler<EventArgs>(ship3Mods_Tapped);

            RootControl.AddChild(ship1Upgrade);
            RootControl.AddChild(ship2Upgrade);
            RootControl.AddChild(ship3Upgrade);
            RootControl.AddChild(ship1Mods);
            //RootControl.AddChild(ship2Mods);
            //RootControl.AddChild(ship3Mods);

            base.Activate(instancePreserved);
        }
        public override void Activate(bool instancePreserved)
        {
            EnabledGestures = GestureType.Tap;
            ContentManager content = ScreenManager.Game.Content;

            background = content.Load<Texture2D>("GameScreens\\BackgroundPanel");
            Button = content.Load<Texture2D>("GameScreens\\Buttons\\B_TransparentMedium");
            buttonFont = content.Load<SpriteFont>("menufont");
            buttonFontSmall = content.Load<SpriteFont>("menufont12");

            titleFont = content.Load<SpriteFont>("Fonts\\Pericles");
            scoreFont = content.Load<SpriteFont>("Fonts\\Andy18");

            coin = new Sprite(Config.CoinSpriteSheet);

            mainMenuButton = new ButtonControl(Button, new Vector2(60, 350), "Main Menu", buttonFont);
            mainMenuButton.Tapped += new EventHandler<EventArgs>(exitButton_Tapped);

            playAgainButton = new ButtonControl(Button, new Vector2(440, 350), "Play Again", buttonFont);
            playAgainButton.Tapped += new EventHandler<EventArgs>(resumeButton_Tapped);

            RootControl = new Control();
            RootControl.AddChild(mainMenuButton);
            RootControl.AddChild(playAgainButton);

            base.Activate(instancePreserved);
        }