My current setup is only useful once collision has been made; obviously there has to be something better than this?
public boolean CollisionCheck(Rectangle rect1, Rectangle rect2) {
if(rect1.intersects(rect2)) {
return true;
}
return false;
}
How can I do preemptive collision detection?