Esempio n. 1
0
        private void AddKeybinding(IntFilterParameterModel model, string value, ModificationType modType, Key key)
        {
            var val     = GetIntValue(value);
            var binding = new IntFilterParameterModel.IntParameterAction(val, modType);

            model.Keybindings[key] = binding;
        }
Esempio n. 2
0
        private void AddParameterAction(IntFilterParameterModel model, string value, ModificationType modType, ActionType actionType)
        {
            var val    = GetIntValue(value);
            var action = new IntFilterParameterModel.IntParameterAction(val, modType);

            model.Actions[actionType] = action;
        }