summaryrefslogtreecommitdiff
path: root/src/game/GameController.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/GameController.cpp')
-rw-r--r--src/game/GameController.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/game/GameController.cpp b/src/game/GameController.cpp
index 07f2722..d8cff8b 100644
--- a/src/game/GameController.cpp
+++ b/src/game/GameController.cpp
@@ -17,7 +17,13 @@ GameController::GameController()
gameView->AttachController(this);
gameModel->AddObserver(gameView);
- sim = new Simulation();
+ //sim = new Simulation();
+}
+
+GameController::~GameController()
+{
+ delete gameView;
+ delete gameModel;
}
GameView * GameController::GetView()