Esempio n. 1
0
        /// <summary>
        /// Load screen resources
        /// </summary>
        public override void LoadContent()
        {
            if (isResuming && !AudioManager.IsInitialized)
            {
                AudioManager.LoadSounds();
            }

            AudioManager.PlaySound("menu");
            base.LoadContent();
        }
Esempio n. 2
0
 /// <summary>
 /// LoadContent will be called once per game and is the place to load
 /// all of your content.
 /// </summary>
 protected override void LoadContent()
 {
     AudioManager.LoadSounds();
     HighScoreScreen.LoadHighscores();
     base.LoadContent();
 }