/// <summary> /// LoadContent will be called once per game and is the place to load /// all of your content. /// </summary> protected override void LoadContent() { _log.Debug("LoadContent();"); _log.Info("!!! GAME LOAD !!!"); // Create a new SpriteBatch, which can be used to draw textures. _spriteBatch = new SpriteBatch(GraphicsDevice); _crosshair = Content.Load <Texture2D>("crosshair"); _menuFont = Content.Load <SpriteFont>(Constants.MenuFont); _menuLabel = new Label("!!! GAME MENU OPEN !!!", _menuFont, Color.Yellow); _log.Debug("LoadContent(); ## END ##"); }
/// <summary> /// LoadContent will be called once per game and is the place to load /// all of your content. /// </summary> protected override void LoadContent() { _log.Debug("LoadContent();"); _log.Info("!!! GAME LOAD !!!"); // Create a new SpriteBatch, which can be used to draw textures. _spriteBatch = new SpriteBatch(GraphicsDevice); _crosshair = Content.Load<Texture2D>("crosshair"); _menuFont = Content.Load<SpriteFont>(Constants.MenuFont); _menuLabel = new Label("!!! GAME MENU OPEN !!!", _menuFont, Color.Yellow); _log.Debug("LoadContent(); ## END ##"); }