Inheritance: IPressableInput
Beispiel #1
0
        public KeyReference GetKey(Keys key)
        {
            var toReturn = new KeyReference();

            toReturn.Key = key;

            return(toReturn);
        }
 public InputButton_KeyboardKey(Keys key)
 {
     KeyReference = FRBInput.InputManager.Keyboard.GetKey(key);
 }
 public InputButton_KeyboardKey(Keys key, bool onlyForDebug)
 {
     KeyReference     = new FRBInput.KeyReference();
     KeyReference.Key = key;
 }
 public InputButton_KeyboardKey(FRBInput.KeyReference keyReference)
 {
     KeyReference = keyReference;
 }