protected override void Initialize()
        {
            menu = new MenuScreen(3);
            //game = new GameScreen();

            //Loading Stuffs
            luaInstance["playerStartLifes"] = "";
            luaInstance["playerScale"] = "";
            luaInstance["playerCollisionOffsetX"] = "";
            luaInstance["playerCollisionOffsetY"] = "";
            luaInstance["playerCollisionWidth"] = "";
            luaInstance["playerCollisionHeight"] = "";
            luaInstance["playerJumpCutoff"] = "";
            luaInstance["playerSmashIntensity"] = "";


            luaInstance["planeTilesBackground0"] = "";
            luaInstance["planeTilesBackground1"] = "";
            luaInstance["planeTilesBackground2"] = "";
            luaInstance["planeTilesBackground3"] = "";
            luaInstance["planeForegroundHeightOffset"] = "";
            
            luaInstance["blockSpeed"] = "";

            luaInstance["triggerTime"] = "";

            luaInstance["heroScale"] = "";
            luaInstance["heroStartTime"] = "";
            luaInstance["heroCollisionOffsetX"] = "";
            luaInstance["heroCollisionOffsetY"] = "";
            luaInstance["heroCollisionWidth"] = "";
            luaInstance["heroCollisionHeight"] = "";
            luaInstance["heroCloseWalkRange"] = "";

            luaInstance["enemyCollisionOffsetX"] = "";
            luaInstance["enemyCollisionOffsetY"] = "";
            luaInstance["enemyCollisionWidth"] = "";
            luaInstance["enemyCollisionHeight"] = "";

            //Update
            luaInstance["playerSpeed"] = "";
            luaInstance["playerAirspeed"] = "";
            luaInstance["playerJumppower"] = "";
            luaInstance["playerGravitation"] = "";
            luaInstance["playerAcceleration"] = "";
            luaInstance["playerSchlagRange"] = "";
            luaInstance["playerMegaSchlagRange"] = "";
            luaInstance["playerMegaSchlagCooldown"] = "";

            luaInstance["heroSpeed"] = "";
            luaInstance["heroKISpeed"] = "";
            luaInstance["heroAirspeed"] = "";
            luaInstance["heroJumppower"] = "";
            luaInstance["heroGravitation"] = "";

            luaInstance["bunnySize"] = "";
            luaInstance["bunnySpeed"] = "";
            luaInstance["bunnyGravitation"] = "";

            luaInstance["monkeySize"] = "";
            luaInstance["monkeySpeed"] = "";
            luaInstance["monkeyThrowRange"] = "";
            luaInstance["monkeyGravitation"] = "";

            luaInstance["kackeSpeed"] = "";
            luaInstance["kackeStartY"] = "";
            luaInstance["objectGravitation"] = "";

            luaInstance["cameraLeftspace"] = "";
            luaInstance["cameraRightspace"] = "";
            luaInstance["cameraBottomspace"] = "";
            luaInstance["cameraTopspace"] = "";
            luaInstance["cameraMaxBewegung"] = "";
            luaInstance["cameraBewegungSteps"] = "";

            luaInstance["minimapWidth"] = "";
            luaInstance["minimapOffsetX"] = "";

            luaInstance["itemSlowTime"] = "";
            luaInstance["itemSlowReduce"] = "";

            //Enter
            luaInstance["playerLifes"] = "";
            luaInstance["playerItem1"] = "";
            luaInstance["playerItem2"] = "";

            luaInstance["cloudPlane1Width"] = "";
            luaInstance["cloudPlane1Height"] = "";
            luaInstance["cloudPlane1Top"] = "";
            luaInstance["cloudPlane1Bottom"] = "";
            luaInstance["cloudPlane1Amount"] = "";
            luaInstance["cloudPlane1Chaos"] = "";
            luaInstance["cloudPlane1Type"] = "";
            luaInstance["cloudPlane1Wind"] = "";
            luaInstance["cloudPlane1SizeMin"] = "";
            luaInstance["cloudPlane1SizeMax"] = "";

            luaInstance["cloudPlane2Width"] = "";
            luaInstance["cloudPlane2Height"] = "";
            luaInstance["cloudPlane2Top"] = "";
            luaInstance["cloudPlane2Bottom"] = "";
            luaInstance["cloudPlane2Amount"] = "";
            luaInstance["cloudPlane2Chaos"] = "";
            luaInstance["cloudPlane2Type"] = "";
            luaInstance["cloudPlane2Wind"] = "";
            luaInstance["cloudPlane2SizeMin"] = "";
            luaInstance["cloudPlane2SizeMax"] = "";

            luaInstance["cloudPlane3Width"] = "";
            luaInstance["cloudPlane3Height"] = "";
            luaInstance["cloudPlane3Top"] = "";
            luaInstance["cloudPlane3Bottom"] = "";
            luaInstance["cloudPlane3Amount"] = "";
            luaInstance["cloudPlane3Chaos"] = "";
            luaInstance["cloudPlane3Type"] = "";
            luaInstance["cloudPlane3Wind"] = "";
            luaInstance["cloudPlane3SizeMin"] = "";
            luaInstance["cloudPlane3SizeMax"] = "";

            luaInstance["princessRageChance"] = "";
            luaInstance["princessRageWarmup"] = "";
            luaInstance["princessEnrageSpeed"] = "";
            luaInstance["princessUnrageSpeed"] = "";
            luaInstance["princessRageLimit"] = "";
            luaInstance["princessCoverTime"] = "";
            
            base.Initialize();
        }
        protected override void Update(GameTime gameTime)
        {
            if (this.IsMouseVisible == graphics.IsFullScreen)
            {
                this.IsMouseVisible = !graphics.IsFullScreen;
            }
            if (input.debug)
            {
                debug = !debug;
            }
            luaInstance.DoFile("Level_"+level+"/luascript.txt");
            input.Update();
            int menuOption = 0;
            //Wenn Menü existiert
            //menuOption == 0 = game ende
            //menuOption == 1 = läuft weiter
            //menuOption == 2 = nächste szene
            if (menu != null)
            {
                //Update und hole Wert vom Menü
                menuOption = menu.Update(gameTime);
                if (menuOption == 2 || menuOption == 3)
                {
                    if (menuOption == 3)
                    {
                        level = 1;
                        leben = 4;
                        luaInstance.DoFile("Level_" + level + "/luascript.txt");
                    }
                    Save();
                    menu = null; //entlädt das menü
                    Content.Unload(); //entlädt den Content
                    if (level != 5)
                    {
                        game = new GameScreen(); //lädt das Game
                        for (int i = 0; i < 7; i++)
                        {
                            this.BeginDraw();                        
                            game.Load(Content, gameTime, spriteBatch, i); // lädt die Game Bilder 
                            this.EndDraw();
                            //Thread.Sleep(250);
                        }
                        Thread.Sleep(500);
                    }
                    else
                    {
                        boss = new BossScreen(true); //lädt das Game
                        boss.Load(Content); // lädt die Game Bilder
                    }
                }
            }
            else if (game != null)
            {
                menuOption = game.Update(gameTime, Content);
                if (menuOption == 2) //GameScreen beendet (Spieler tot)
                {
                    game = null;
                    Content.Unload();
                    GC.Collect();
                    Load();
                    menu = new MenuScreen(1);
                    menu.Load(Content);
                }
                else if (menuOption == 3) //Level Ende
                {                        
                    game = null;
                    Content.Unload();
                    GC.Collect();
                    if(level < 5)
                        level += 1;
                    Save();
                    menu = new MenuScreen(2);
                    menu.Load(Content);
                }
                else if (menuOption == 4) //GameScreen beendet (Exit)
                {
                    game = null;
                    Content.Unload();
                    GC.Collect();
                    Load();
                    menu = new MenuScreen(0);
                    menu.Load(Content);
                    menuOption = 1;
                }
            }
            else if (boss != null)
            {
                if (input.escape && boss.paused)
                {
                    boss = null;
                    Content.Unload();
                    GC.Collect();
                    Load();
                    menu = new MenuScreen(0);
                    menu.Load(Content);
                    menuOption = 1;
                }
                else
                {
                    menuOption = boss.Update(gameTime, Content);
                    if (menuOption == 2) //GameScreen beendet (Spieler tot)
                    {
                        boss = null;
                        Content.Unload();
                        GC.Collect();
                        Load();
                        menu = new MenuScreen(1);
                        menu.Load(Content);
                    }
                    else if (menuOption == 3) //Level Ende
                    {
                        boss = null;
                        Content.Unload();
                        GC.Collect();
                        menu = new MenuScreen(2);
                        menu.Load(Content);
                    }
                    else if (menuOption == 4) //GameScreen beendet (Exit)
                    {
                        boss = null;
                        Content.Unload();
                        GC.Collect();
                        Load();
                        menu = new MenuScreen(0);
                        menu.Load(Content);
                        menuOption = 1;
                    }
                    else if (menuOption == 5)
                    {

                        boss = null;
                        Content.Unload();
                        GC.Collect();
                        Load();
                        boss = new BossScreen(false); //lädt das Game
                        boss.Load(Content); // lädt die Game Bilder
                    }
                }
            }
            if (input.fullscreen) //F11 = Toggle Fullscreen
            {
                Game1.ToggleFullscreen();
            }
            if (menuOption == 0 || input.end)
            {
                Save();
                this.Exit();
            }
            base.Update(gameTime);
        }