Move particle collision check to new class