public Level(Game game, HUD h)
     : base(game)
 {
     height = 0;
     oldHeight = 0;
     player = new Player(game, this);
     hud = h;
     playerAlive = true;
     gameSpeed = 0.8f;
     transitionNum = 0;
 }
        /// <summary>
        /// LoadContent will be called once per game and is the place to load
        /// all of your content.
        /// </summary>
        protected override void LoadContent()
        {
            // Create a new SpriteBatch, which can be used to draw textures.
            spriteBatch = new SpriteBatch(GraphicsDevice);

            menuSelect = Content.Load<SoundEffect>("Audio/UI/menuSelect");

            hud = new HUD(level);
            level = new Level(this, hud);
            hud.SetLevel(level);

            level.LoadContent(spriteBatch, Content);
            hud.LoadContent(spriteBatch, Content);
        }