Keybindings Class |
Namespace: spaar.ModLoader
public static class Keybindings
The Keybindings type exposes the following members.
Name | Description | |
---|---|---|
AddKeybinding |
Registers a new keybinding with the specified name and default value.
If the keybinding does already exist, possibly because it was loaded
from configuration automatically, the default value is ignored and
the existing Key is returned instead.
| |
Get |
Gets the keybinding associated with the specified name.
If the name is not a registered keybinding, an InvalidOperationException
is thrown.
|