Beispiel #1
1
        public SubMenu(Menu menu, SubMenu parent, String label)
            : base(menu, label)
        {
            this.menu = menu;
            this.parent = parent;

            children = new List<Option>();
        }
Beispiel #2
0
 public Option(Menu menu, String label)
 {
     this.menu = menu;
     this.label = label;
 }
Beispiel #3
0
 public ExitGame(Menu menu, Game game)
     : base(menu, "Exit")
 {
     this.game = game;
 }
Beispiel #4
0
 public OptionCloseMenu(Menu menu, String label)
     : base(menu, label)
 {
 }
Beispiel #5
0
 public OptionCloseMenu(Menu menu)
     : this(menu, "Close Menu")
 {
 }