I’m making a simple game where you control a square and lose if you touch a circle. How would I detect this collision?
Ellispe2D.intersects(), JavaDoc:
public boolean intersects(double x, double y, double w, double h)
Tests if the interior of this Ellipse2D intersects the interior of a specified rectangular area.
ok thanks