massive cleaning of file section headers
[physics.git] / src / entityManager.cpp
index 000fd4b..b646c1a 100644 (file)
@@ -1,41 +1,43 @@
-#include <set>
-using std::set;
-
-#include <iostream>
-
 #include "entityManager.h"
 #include "debug.h"
 
+#include <set>
+#include <iostream>
+
 #include "Entities/Entity.h"
 #include "Entities/Particle.h"
 #include "Entities/PhysicsEntity.h"
 
 /// ***** Private Method Headers *****
+
 void updateParticles(float);
 void updatePhysics(float);
 
 /// ***** Private Variables *****
-typedef set<Particle*> setPart;
+
+typedef std::set<Particle*> setPart;
 setPart particles_To_Add;
 setPart active_Particles;
 setPart particles_To_Remove;
-bool clearParticles;
 
-typedef set<PhysicsEntity*> setPhys;
+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()
 {
+
 }
 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