public bool isKeyReleased(Keys key) { return(_currentKeyboardState.IsKeyUp(key) && _previousKeyboardState.IsKeyDown(key)); }
public bool isKeyHolding(Keys key) { return(_currentKeyboardState.IsKeyDown(key) && _previousKeyboardState.IsKeyDown(key)); }