Пример #1
1
        public SubMenu(Menu menu, SubMenu parent, String label)
            : base(menu, label)
        {
            this.menu = menu;
            this.parent = parent;

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