Exemple #1
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.
            m_spriteBatch = new SpriteBatch(GraphicsDevice);

            // Load and save all game content
            ArtManager.LoadContent(Content);
            AudioManager.LoadContent(Content);
            World.LoadContent();
            m_mainMenu.LoadContent();
            m_howToMenu.LoadContent();
            m_optionsMenu.LoadContent();
            m_pauseMenu.LoadContent();
            m_levelUpMenu.LoadContent();
            m_gameOverMenu.LoadContent();

            AudioManager.PlayMainMusic();
        }