public ExitETalisman(MainMenu menu, String label, ETalisman eTalisman) : base(menu, label) { this.eTalisman = eTalisman; }
public SubMenu(MainMenu menu, SubMenu parent, String label) : base(menu, label) { this.menu = menu; this.parent = parent; children = new List<Option>(); }
public Option(MainMenu menu, String label) { this.menu = menu; this.label = label; }
public CloseMenu(MainMenu menu, String label) : base(menu, label) { }
public NewAdventure(ETalisman eTalisman, MainMenu menu) : base(menu, "New Adventure") { this.eTalisman = eTalisman; }
protected override void LoadContent() { spriteBatch = new SpriteBatch(GraphicsDevice); testTexture = Content.Load<Texture2D>(@"gfx/1x1"); // input input = new ZXNA.Input.Input(this); // menu mainMenu = new MainMenu(this); mainMenu.open(); mainMenu.DrawOrder = 1; Components.Add(mainMenu); // adventure adventure = new Adventure(this); Components.Add(adventure); // pong pong = new Pong.Pong(this); Components.Add(pong); //Services.AddService(typeof(SpriteBatch), spriteBatch); base.LoadContent(); }