This works, but when there are multiple instances from the same family, construct only takes reference of the x value of the enemy I first put down in the layout (rather than the closest one), so if enemy 2 is like 500 pixels +X (right) of enemy 1, the collision still thinks you get hit from the right, no matter where enemy 2 is, even if he is to the left of the player (-x).
You reference the enemy overlapping the player so it should only pick that enemy, however your logic then goes on to use global variable and no longer reference any enemies, so I don't know how you would know if it was picking other enemies. How are you recording that information?