boolean canBeFoldedWith(MouseState ms) {
        return ms.buttonsPressed.equals(buttonsPressed) && ms.wheel == wheel;
    }
boolean canBeFoldedWith ( MouseState ms ) { return ms . buttonsPressed . equals ( buttonsPressed ) && ms . wheel == wheel ; }
Finds out whether two non-null states are identical in everything but
their coordinates

@param ms the MouseState to compare to