+ clearUpParticles();
+ {
+ Autolock lock( particleSetLock );
+ DPF(0, "Particle Draw Start");
+
+ // update active Particle*s
+ for( setPart::iterator it = active_Particles.begin();
+ it != active_Particles.end();
+ it++ )
+ {
+ (*it)->draw();
+ }
+
+ DPF(0, "Particle Draw End");
+ }
+
+ clearUpPhysics();
+ {
+ Autolock lock( physicsEntitySetLock );
+ DPF(0, "Physics Draw Start");
+
+ // update active PhysicsEntity*s
+ for( setPhys::iterator it = active_Physics.begin();
+ it != active_Physics.end();
+ it++ )
+ {
+ (*it)->draw();
+ }
+
+ DPF(0, "Physics Draw End");
+ }
+}
+
+/// ***** Private Methods *****
+
+void updateParticles(float time_step)
+{
+ clearUpParticles();
+