/// <summary>
 /// LoadContent will be called once per game and is the place to load
 /// all of your content.
 /// </summary>
 protected override void LoadContent()
 {
     spriteBatch      = new SpriteBatch(GraphicsDevice);
     watery_cave_loop = Content.Load <Song>("watery_cave_loop");
     bubbleFlyweight.LoadContent(Content);
     enemyFlyweight.LoadContent(Content);
     player.LoadContent(Content);
     scoreFont = Content.Load <SpriteFont>("score");
     backgroundFlyweight.LoadContent();
 }
Exemple #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()
        {
            spriteBatch = new SpriteBatch(GraphicsDevice);

            watery_cave_loop = Content.Load <Song>("watery_cave_loop");

            bubblesTexture = Content.Load <Texture2D>("bubbles");
            bubblesSound   = Content.Load <SoundEffect>("Large Bubble");

            player.LoadContent(Content);

            fish      = Content.Load <Texture2D>("fish");
            fish_big  = Content.Load <Texture2D>("fish-big");
            fish_dart = Content.Load <Texture2D>("fish-dart");

            scoreFont = Content.Load <SpriteFont>("score");
        }
 public void LoadContent()
 {
     player.LoadContent();
 }