public void registerInput(Keyboard.Key key, string name, bool requireFocus = true) { keyInput inputKey = new keyInput(key, gameWindow, name, requireFocus); input.registerKey(inputKey); }
public void registerKey(keyInput key) { registeredKeys[numKeys] = key; numKeys++; }