aboutsummaryrefslogtreecommitdiff
path: root/mwe/gameloop/src/loopManager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'mwe/gameloop/src/loopManager.cpp')
-rw-r--r--mwe/gameloop/src/loopManager.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/mwe/gameloop/src/loopManager.cpp b/mwe/gameloop/src/loopManager.cpp
index b075bd8..49d65fb 100644
--- a/mwe/gameloop/src/loopManager.cpp
+++ b/mwe/gameloop/src/loopManager.cpp
@@ -1,11 +1,8 @@
#include "loopManager.h"
#include "timer.h"
-LoopManager::LoopManager() {
- this->window = new WindowManager();
-
-}
-LoopManager::~LoopManager(){
- for(GameObject* object : this->objectList){
+LoopManager::LoopManager() { this->window = new WindowManager(); }
+LoopManager::~LoopManager() {
+ for (GameObject * object : this->objectList) {
delete object;
}
delete this->window;