コード例 #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
ファイル: Game1.cs プロジェクト: Martenfur/Flucoldache
        /// <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();
        }