using System; using System.Collections.Generic; namespace SM.Game.Controls { public class GameKeybindList : List> { public void Add(string name, GameKeybind keybind) { Add(new KeyValuePair(name, keybind)); } public void Add(string name, Func keyboard = null, Func controller = null) { Add(new KeyValuePair(name, new GameKeybind() { AI = null, Controller = controller, Keyboard = keyboard })); } } }