gravity working through manager
[physics.git] / src / game.cpp
index ebf2ba7..1aabda2 100644 (file)
@@ -5,6 +5,7 @@
 using std::vector;
 
 #include "entityCreator.h"
+#include "effectManager.h"
 
 #include "GameStates/GameState.h"
 #include "GameStates/Running.h"
@@ -35,6 +36,8 @@ void gameInit()
 
     active_States.push_back(running);
 
+    effect::init();
+
 #ifdef DEBUGGING
     cout << "World Created" << endl;
 #endif
@@ -42,6 +45,8 @@ void gameInit()
 
 void gameClean()
 {
+    effect::clean();
+
     creator::clean();
 
     delete creating_Polygon;