コード例 #1
0
ファイル: Game1.cs プロジェクト: Dinokaiz2/SteamholdFMS
 /// <summary>
 /// LoadContent will be called once per game and is the place to load
 /// all of your content.
 /// </summary>
 protected override void LoadContent()
 {
     // Create a new SpriteBatch, which can be used to draw textures.
     spriteBatch = new SpriteBatch(GraphicsDevice);
     Timer.Load(Content);
     OverallScoreCounter.Load(Content);
     SoundEffects.Load(Content);
     OuterWorks.Load(Content);
     GearCounter.Load(Content);
     EndgameCounter.Load(Content);
     RPCounter.Load(Content);
     titleFont    = Content.Load <SpriteFont>("titlefont");
     bigTitleFont = Content.Load <SpriteFont>("titlefontsuper");
     logo         = Content.Load <Texture2D>("steamhold4");
     background   = Content.Load <Texture2D>("background");
     // TODO: use this.Content to load your game content here
 }