massive cleaning of file section headers
[physics.git] / src / entityManager.cpp
index 5fe9878..b646c1a 100644 (file)
@@ -9,23 +9,23 @@
 #include "Entities/PhysicsEntity.h"
 
 /// ***** Private Method Headers *****
+
 void updateParticles(float);
 void updatePhysics(float);
 
 /// ***** Private Variables *****
+
 typedef std::set<Particle*> setPart;
 setPart particles_To_Add;
 setPart active_Particles;
 setPart particles_To_Remove;
-bool clearParticles;
 
 typedef std::set<PhysicsEntity*> setPhys;
 setPhys physics_To_Add;
 setPhys active_Physics;
 setPhys physics_To_Remove;
-bool clearPhysics;
 
-/// ***** Public Methods *****
+/// ***** Initializers/Cleaners *****
 
 void manager::init()
 {
@@ -36,6 +36,8 @@ void manager::clean()
 
 }
 
+/// ***** Public Methods *****
+
 void manager::add(Entity* e)
 {
     {
@@ -83,12 +85,6 @@ void manager::remove(Entity* e)
     std::cerr << std::endl;
 }
 
-void manager::clear()
-{
-    clearParticles = true;
-    clearPhysics = true;
-}
-
 void manager::handleInput()
 {
     // TODO
@@ -115,10 +111,10 @@ void manager::draw()
     {
         (*it)->draw();
     }
-
 }
 
 /// ***** Private Methods *****
+
 void updateParticles(float time_step)
 {
     // add new Particle*s to Active