Esempio n. 1
0
        /// <summary>
        /// Load graphics content for the game.
        /// </summary>
        public override void LoadContent()
        {
            base.LoadContent();
            sky    = new SkySphere(ScreenManager.Game, this);
            player = new BallCharacter(ScreenManager.Game, this);
            //soundEffect.Play(1.0f, 0.0f, 0.0f, true);

            //sets up the level
            SwitchToNextLevel();
        }
        /// <summary>
        /// Load graphics content for the game.
        /// </summary>
        public override void LoadContent()
        {
            base.LoadContent();
            sky = new SkySphere(ScreenManager.Game, this);
            player = new BallCharacter(ScreenManager.Game, this);
            //soundEffect.Play(1.0f, 0.0f, 0.0f, true);

            //sets up the level
            SwitchToNextLevel();
        }