public Menu(Game game, ZXNA.Input.Input input, SpriteBatch spriteBatch, Rectangle bounds) : base(game) { this.game = game; this.input = input; this.spriteBatch = spriteBatch; this.bounds = bounds; Opened = true; //spriteBatch = (SpriteBatch)eTalisman.Services.GetService(typeof(SpriteBatch)); choiceBackground = game.Content.Load<Texture2D>(@"gfx\menu_item_background-300x100"); optionBackground = game.Content.Load<Texture2D>(@"gfx\menu_item_background2_selected-300x100"); spriteFont = game.Content.Load<SpriteFont>(@"font\arial"); }
public ExitGame(ZXNA.Menu.Menu menu, String label, Game game) : base(menu, label) { this.game = game; }