public void RemoveBefore(KeyMap map) { for (int i = _before.Count; i-- > 0;) { if (_before[i].main == map) { _before.RemoveAt(i); } } }
public KeyMapNode(KeyMap main, int priority) { this.main = main; this.priority = priority; _before = new RWList <KeyMapNode>(); before = _before; _after = new RWList <KeyMapNode>(); after = _after; }
public void AddBefore(KeyMap map, int priority) { AddBefore(new KeyMapNode(map, priority)); }
public void AddBefore(KeyMap map) { AddBefore(map, 0); }
public KeyMapBuilder(KeyMap map, SwitchList <NamedAction> list) { this.map = map; this.list = list; }