public bool CheckKeyPressed(VirtualKeyCode key) { return(Game.KeyboardState.IsKeyDown(KeyMapper.GetMap(key))); }
private void Game_KeyPressed(Keys key) { KeyPress?.Invoke(this, new KeyboardEventArgs(KeyMapper.GetMap(key))); }