Beispiel #1
0
 public static void Register(KeyCombo combo, Action action)
 {
     Keybinds.Add(combo, action);
 }
Beispiel #2
0
 public static void Consume(KeyCombo combo)
 {
     if (Keybinds.ContainsKey(combo))
         Keybinds[combo].Invoke();
 }