예제 #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()
 {
     Resources.Sprites.SpritesDefault.Load();
     Resources.Fonts.Load(Content);
     Resources.Effects.Load(Content);
     DrawCntrl.Init(GraphicsDevice);
 }
예제 #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()
        {
            GameCntrl.LoadGraphics(Content);
            Fonts.Load(Content);
            DrawCntrl.Init(GraphicsDevice);

            SoundController.Init(Content);

            GameCntrl.Begin();
        }