Changed fields of Particle class to protected, to make access in
subclass possible