public bool Pressed(WinInput.Key key) { if (keys.ContainsKey(key)) { return(keys[key]); } return(false); }
private void SetKeyValue(WinInput.Key key, bool value) { if (keys.ContainsKey(key)) { keys[key] = value; } else { keys.Add(key, value); } }