protected bool IsKeyPressed(Keys key) { return this.oldKeyboardState.IsKeyDown(key) && this.currentKeyboardState.IsKeyUp(key); }