/// <summary>
 /// A constructor for HelpScene object
 /// </summary>
 /// <param name="game">game</param>
 /// <param name="spriteBatch">spriteBatch</param>
 public HelpScene(Game game,
                  SpriteBatch spriteBatch) : base(game)
 {
     this.spriteBatch = spriteBatch;
     helpTex          = game.Content.Load <Texture2D>("Images/helpImage");
     help             = new GameSceneBackground(game, spriteBatch, helpTex);
     this.Components.Add(help);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="game">game</param>
 /// <param name="spriteBatch">spriteBatch</param>
 public CreditScene(Game game,
                    SpriteBatch spriteBatch) : base(game)
 {
     this.spriteBatch = spriteBatch;
     creditTex        = game.Content.Load <Texture2D>("Images/Credit");
     credit           = new GameSceneBackground(game, spriteBatch, creditTex);
     this.Components.Add(credit);
 }