public SubMenu(ResultLogger log, string title, List <IGameControl> controls) { logger = log; Title = title; Controls = controls; }
public Menu(MenuType type, List <SubMenu> menus, List <IGameControl> wanted, ResultLogger log) { logger = log; WantedControls = wanted; Type = type; Menus = menus; hookMenus(); }
public Survey(ResultLogger logger, MenuType type) { this.logger = logger; Type = type; Alpha = (type == MenuType.ALPHA); KnewAlpha = false; Comment = String.Empty; initSurveys(); initCommands(); }
public MenuParser(ResultLogger log, string input_location) { location = input_location; logger = log; current_id = 0; control_groupings = new Dictionary <IGameControl, string>(); wanted_controls = new Dictionary <int, List <IGameControl> >(); readInControls(location); }
public MainApplication() { logger = new ResultLogger(ANSWER_OUTPUT, SURVEY_OUTPUT); completion = new CompletionTracker(); factory = new MenuFactory(new MenuParser(logger, INPUT_FILE), logger); CurrentState = StudyState.INITIAL; Name = String.Empty; Error = String.Empty; CurrentMenu = null; CurrentType = MenuType.NONE; InitInstructions = new InstructionView(); InitInstructions.ContinueSelected += handleInstructionsComplete; Instructions = new Instructions(); CurrentSurvey = null; initCommands(); }
public MenuFactory(MenuParser parse, ResultLogger log) { parser = parse; logger = log; }