You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The overlaps method is currently in type Graphic, but is only defined on objects in Graphic2D. Remove it from Graphic2D and shift to type Graphic. Remove the implementation in class drawable. The implementation in drawable2D is fine.