Pridani metody getDistance(Pub[] path) ve tride Pub