Method ReplaceCommands
ReplaceCommands(Key, params Command[])
Replaces the commands already bound to a key.
public void ReplaceCommands(Key key, params Command[] commands)
Parameters
key
KeyThe key bound to the command to be replaced.
commands
Command[]The set of commands to replace the old ones with.
Remarks
If the key is not already bound, it will be added.