Esempio n. 1
0
 /// <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); } });
 }
Esempio n. 2
0
 /// <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); }
     });
 }