/// <summary>
        /// Konstruktor für einen neue screenmanager
        /// </summary>
        public ScreenManager(Game game, int virtualWidth, int virtualHeight)
            : base(game)
        {
            audioFileSystem = new AudioFiles();
            audioFileSystem.Initialize();

            imageFileSystem = new ImageFiles();
            imageFileSystem.Initialize();

            keys = new KeyboardSettings();


            powerupSystem = new PowerupSystem();
            powerupSystem.Initialize(this);
            // variablen für die virtuelle umgebung
            this.virtualHeight = virtualHeight;
            this.virtualWidth  = virtualWidth;

            this.DeviceManager = (GraphicsDeviceManager)game.Services.GetService(typeof(IGraphicsDeviceManager));

            //gesten werden aktiviert
            TouchPanel.EnabledGestures = GestureType.None;

            input.ScreenManager = this;
        }
        public GameplayScreen(ScreenManager manager, int id, bool touchState, Flyinghead head, BouncingText text)
        {
            //Allgemeine Initialisierungen
            screenManager = manager;
            screenManager.endBossActive = false;
            collision = new Collision();

            m_levelId   = id;
            m_gameSpeed = 10;

            bouncingText = text;
            flyinghead   = head;

            //Spielelemente
            startWeapon = new Weapon();
            player      = new Player();
            playerInput = new Input();

            levelEins            = new Level();
            m_enemyAnimationList = new List <Animation>();

            //Level
            m_Background1 = new Background();
            m_Background2 = new Background();
            m_Background3 = new Background();
            m_Background4 = new Background();
            m_Background5 = new Background();


            //Input
            listOfRectangles     = new List <Rectangle>();
            r_backwards          = new Rectangle(0, 1080 - 160, 80, 160);
            r_forward            = new Rectangle(90, 1080 - 160, 80, 160);
            r_shoot              = new Rectangle(1600, 700, 320, 380);
            listOfTouchLocations = new List <TouchLocation>();
            tc           = TouchPanel.GetCapabilities();
            b_touchState = touchState;
            helper       = new Helper(screenManager);

            if (b_touchState == true)
            {
                m_buttons = new ButtonsDraw();
            }

            m_textures = new Texture2D[5];

            manager.audioFileSystem.menuTheme.Stop();
            audioFileSystem = screenManager.audioFileSystem;
            imageFileSystem = screenManager.imageFileSystem;


            deathApplied = false;
            screenManager.audioFileSystem.s_levelOneTheme.IsLooped = true;
            victoryApplied   = false;
            bossThemeStarted = false;

            //Zählt runter bei null = Tod
            m_countdown = 300;
        }