Casticovy system presunut do souboru particle.cpp