コード例 #1
0
ファイル: InputGetterOption.cs プロジェクト: OCox1991/Genome
 /// <summary>
 /// Sets up the option, associates it with a menu and the IntLeafOption that needed it to get the input
 /// </summary>
 /// <param name="menu">The menu that this option is a part of</param>
 /// <param name="option">The option that needed the InputGetter to get some input for it</param>
 public InputGetterOption(Menu menu, IntLeafOption option)
     : base("OK", "Enter Value:", option.getDescription(), menu)
 {
     returnOption = option;
     input = "";
     drawer = new InputGetterDrawer(this);
 }