Hide members of Particle
The Particle
class exposes several members that should be kept private such as Pos
and ID
. The problem with exposing these members is that it could be difficult to make changes or implement different versions of Particle
. Thus, these members should be private and accesses with methods (such as GetParticle
/SetParticle
).