Beispiel #1
0
        public void registerInput(Keyboard.Key key, string name, bool requireFocus = true)
        {
            keyInput inputKey = new keyInput(key, gameWindow, name, requireFocus);

            input.registerKey(inputKey);
        }
Beispiel #2
0
 public void registerKey(keyInput key)
 {
     registeredKeys[numKeys] = key;
     numKeys++;
 }