+ {
+ Autolock lock( muSetPart );
+
+ addOrRemoveParticles();
+
+ // draw active Particle*s
+ for( setPart::iterator it = active_Particles.begin();
+ it != active_Particles.end();
+ it++ )
+ {
+ (*it)->draw();
+ }
+ }
+
+ {
+ Autolock lock( muSetPhys );
+
+ addOrRemovePhysics();
+
+ // draw active PhysicsEntity*s
+ for( setPhys::iterator it = active_Physics.begin();
+ it != active_Physics.end();
+ it++ )
+ {
+ (*it)->draw();
+ }
+ }
+}
+
+/// ***** Private Methods *****
+
+void updateParticles(float time_step)
+{
+ addOrRemoveParticles();
+