Пример #1
0
 /// <inheritdoc />
 public bool TryGetHandler(BoundKeyFunction function, out InputCmdHandler handler)
 {
     return(_commandBinds.TryGetValue(function, out handler));
 }
Пример #2
0
 /// <inheritdoc />
 public void BindFunction(BoundKeyFunction function, InputCmdHandler command)
 {
     _commandBinds.Add(function, command);
 }