protected override void Update(GameTime gameTime)
        {
            // _arrow1.Update(gameTime);

            switch (CurrentGameState)
            {
                #region MainMen update
            case GameState.MainMenu:

                menuManager.Update(gameTime, GraphicsDevice);
                menuManager.UpdateMainMenu(gameTime);
                break;

                #endregion
                #region Playing update
            case GameState.Playing:
                clock.Start();
                menuManager.UpdatePlaying();

                playerManager.Update(gameTime, GraphicsDevice);

                enemiesManager.Update(gameTime);
                enemiesManager.CollisionsWithMap(mapManager.getMap());

                enemiesManager.collisionsWithPlayer(playerManager.getPlayer());

                treasureManager.Update(gameTime);
                rainManager.waitForEndOfUpdate();
                checkIfNotExceedEndTime();
                break;

                #endregion
                #region Pause update
            case GameState.Pause:
                menuManager.UpdatePause(gameTime);
                break;

                #endregion
                #region DeadMenu update
            case GameState.DeadMenu:
                menuManager.UpdateDeadMenu(gameTime);
                break;
                #endregion
            }
        }