public InputSettingsManager(INIFileParser inputParser) { this.InputParser = inputParser; IList<ConfigEntry> WillowPlayerInputBindings = InputParser.GetAllSettings("WillowGame.WillowPlayerInput", "Bindings"); if (WillowPlayerInputBindings == null || WillowPlayerInputBindings.Count <= 0) { //Copy default bindings IList<ConfigEntry> WillowPlayerEngineBindings = InputParser.GetAllSettings("Engine.PlayerInput", "Bindings"); InputParser.AddSettings("WillowGame.WillowPlayerInput", WillowPlayerEngineBindings); } }
public GameSettingsManager(INIFileParser gameParser) { this.GameParser = gameParser; }
public EngineSettingsManager(INIFileParser engineParser) { this.EngineParser = engineParser; }