X-Git-Url: http://gitweb.pgornicz.com/gitweb.cgi?a=blobdiff_plain;f=src%2Fgame.cpp;h=1aabda25e415c76308f2c34691dc4888bc3464ca;hb=7adc59fef43ae9741d455448770b585e28e87c98;hp=ebf2ba77f22319f9fc1bbfa74aa635c95c5d7809;hpb=a483ed7507597d41a784028284a85083c9647045;p=physics.git diff --git a/src/game.cpp b/src/game.cpp index ebf2ba7..1aabda2 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -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;