I have 2 objects, A and B, both are classes with only values, so positions and dimensions are only values (float posX,posY).
I have a render class which render A and B with shapeRenderer; A is rendered as a rectangle and B as a circle, how could check if there is a collision ?
edit: I have a rectangle coming from up, when it hits the circle I have to stop the game