In struct ParticleI've noticed two members:float x,yWhat do they represent? I don't think they are the x and y coords of the particle because it uses float
If they weren't floats, basic stuff like velocity couldn't work. Unless velocity was also integers, but then movement would look very bad. Even though particles are all rounded to integer locations for display / collision, they really have float positions and velocities.