public void handleShopKeeperEvents()
        {
            lastButton = currentButton;

            if ((Keyboard.GetState().IsKeyDown(Keys.W) || GamePad.GetState(0).ThumbSticks.Left.Y < -0.5f) && !buttonPressed)
            {
                currentButton++;
                if (currentButton > Enums.ShopKeeperItemButtons.HEALTHPOTION)
                {
                    currentButton = Enums.ShopKeeperItemButtons.STRENGTHPOTION;
                }

                buttonPressed = true;
            }

            if ((Keyboard.GetState().IsKeyDown(Keys.S) || GamePad.GetState(0).ThumbSticks.Left.Y > +0.5f) && !buttonPressed)
            {
                currentButton--;
                if (currentButton < 0)
                {
                    currentButton = Enums.ShopKeeperItemButtons.HEALTHPOTION;
                }

                buttonPressed = true;
            }
            if ((Keyboard.GetState().IsKeyDown(Keys.Enter) || GamePad.GetState(0).IsButtonDown(Buttons.A)) && !buttonPressed)
            {
                buttonPressed = true;

                if (lastButton == Enums.ShopKeeperItemButtons.STRENGTHPOTION)
                {
                    Buy("StrengthPotion");
                    nPC_Animations.nextAnimation = NPC_Animations.NPCAnimations.IdleShopkeeper;
                }


                if (lastButton == Enums.ShopKeeperItemButtons.JUMPPOTION)
                {
                    Buy("JumpPotion");
                    nPC_Animations.nextAnimation = NPC_Animations.NPCAnimations.IdleShopkeeper;
                }

                if (lastButton == Enums.ShopKeeperItemButtons.HEALTHPOTION)
                {
                    Buy("HealthPotion");
                    nPC_Animations.nextAnimation = NPC_Animations.NPCAnimations.IdleShopkeeper;
                }
            }
            //(MouseState.Equals(Mouse) //mit linker Moustaste schließbar?
            if ((Keyboard.GetState().IsKeyDown(Keys.Escape) || GamePad.GetState(0).IsButtonDown(Buttons.B)) && !buttonPressed)
            {
                shopOpen = false;
            }
            if (Keyboard.GetState().GetPressedKeys().Count() == 0 && GamePad.GetState(0).ThumbSticks.Left.Y < 0.5f && GamePad.GetState(0).ThumbSticks.Left.Y > -0.5f)
            {
                buttonPressed = false;
            }
        }
        public ShopKeeper(Texture2D gameObjectTexture, Vector2 gameObejctSize, Vector2 position, int gameObjectID, Dictionary <string, Texture2D> texturesDictionary) : base(gameObjectTexture, gameObejctSize, position, gameObjectID)
        {
            nPC_Animations = new NPC_Animations(texturesDictionary);
            nPC_Animations.currentAnimation = NPC_Animations.NPCAnimations.IdleShopkeeper;
            nPC_Animations.nextAnimation    = NPC_Animations.NPCAnimations.IdleShopkeeper;

            audioManager = AudioManager.AudioManagerInstance();

            shopOpen = false;

            lastButton    = Enums.ShopKeeperItemButtons.STRENGTHPOTION;
            currentButton = Enums.ShopKeeperItemButtons.STRENGTHPOTION;

            buttonPressed = false;
            randomTimer   = 0;
            timer         = 0;

            //HOW MANY DO WE HAVE?
            totalTextBoxesCount        = 11;
            currentDrawnTextBoxesCount = 0;
            boxPopUpCooldown           = 5;
            everySecondTime            = 0;
            temp = "";
        }