recignises player and enemy have collided