Added player and AI collisions