/// <summary> /// Constructor. /// </summary> public BasicDemo(DemoGame game) : base(game) { Entries.Add(textureEnable = new BoolMenuEntry("texture")); Entries.Add(lightMode = new LightModeMenu()); Entries.Add(new MenuEntry { Text = "back", Clicked = delegate { Game.SetActiveMenu(0); } }); }