using void LoadContent() { background = content.Load(@”GameScreens itlescreen”); font =

using System;using Microsoft.Xna.Framework;using Microsoft.Xna.Framework.Graphics;using Darken.StateManager;namespace Darken.GameStates{    public interface ITitleIntroState : IGameState    {    }    public class TitleIntroState : BaseGameState, ITitleIntroState    {        #region Field Region        Texture2D background;        Rectangle backgroundDestination;        SpriteFont font;        TimeSpan elapsed;        Vector2 position;        string message;        #endregion        #region Constructor Region        public TitleIntroState(Game game)            : base(game)        {            game.Services.AddService(typeof(ITitleIntroState), this);        }        #endregion        #region Method Region        public override void Initialize()        {            backgroundDestination = Game1.ScreenRectangle;            elapsed = TimeSpan.Zero;            message = “PRESS SPACE TO START”;            base.Initialize();        }        protected override void LoadContent()        {            background = content.Load(@”GameScreens itlescreen”);            font = content.Load(@”FontsInterfaceFont”);            Vector2 size = font.MeasureString(message);            position = new Vector2((Game1.ScreenRectangle.Width – size.X) / 2, Game1.ScreenRectangle.Bottom – 50 – font.LineSpacing);            base.LoadContent();        }        public override void Update(GameTime gameTime)        {            PlayerIndex index = PlayerIndex.One;            elapsed += gameTime.ElapsedGameTime;            base.Update(gameTime);        }        public override void Draw(GameTime gameTime)        {            GameRef.SpriteBatch.Begin();            GameRef.SpriteBatch.Draw(background, backgroundDestination, Color.White);            Color color = new Color(1f, 1f, 1f) * (float)Math.Abs(Math.Sin(elapsed.TotalSeconds * 2));            GameRef.SpriteBatch.DrawString(font, message, position, color);            GameRef.SpriteBatch.End();            base.Draw(gameTime);        }        #endregion    }}