protected void Update() { oldKeyState = keyboardState.Clone(); oldMouseState = mouseState.Clone(); keyboardState.Update(); mouseState.Update(); }