diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-03 13:34:27 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-03 13:34:27 +0100 |
commit | 2585dc3cab48ccad0cfa0c63354662d656c86c46 (patch) | |
tree | 579851837f35842e5ed682c912c470d68df79183 /mwe/gameloop/src | |
parent | 5deb950619dff9dde8b49520b23e3ce4001afbee (diff) |
`make format`
Diffstat (limited to 'mwe/gameloop/src')
-rw-r--r-- | mwe/gameloop/src/loopManager.cpp | 9 |
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; |