handles player enemy collisions