Looking at the Boolean Declaration for the Collision with Axe we have
bool collision_with_axe = (b_axe_y >= u_circle_y) && (u_axe_y <= b_circle_y) && (r_axe_x >= l_circle_x) && (l_axe_x <= r_circle_x);
So my understanding is The Boolean is set to all of those values, at the same time as “False”
And the Collision Detection code is:
collision_with_axe = (b_axe_y >= u_circle_y) && (u_axe_y <= b_circle_y) && (r_axe_x >= l_circle_x) && (l_axe_x <= r_circle_x);
And the Collision with Axe is set, to several Values at once. But my question is, Why do this? As far as I can tell, the Boolean is set to four conditional checks and uses And to “merge” them. Wouldn’t it be better to use an If Then instead?