Added collision method for player