Your Game class contains std::vector<Particle> particles; which I feel is out-of-place. Imagine you'd want to have main menu with particles - you would have to create another vector<> in other class, yet again make same rendering loop & so on. Consider moving creating class such as ParticleSystem or something similar, so that it would simulate and render all particles.
Zaoshi KabaMember Since 04 Nov 2012
Offline Last Active Today, 10:46 AM