public bool IsKeyPressed(Keys key) { return _curKeyState.IsKeyDown(key) && _prevKeystate.IsKeyUp(key); }