aboutsummaryrefslogtreecommitdiff
path: root/ViewController.cpp
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-10-22 19:55:53 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-10-22 19:55:53 +0200
commit3e1b0eb968d90f1ba5163b220c4e39dd7fd1e51b (patch)
tree2f9dcb8b7ac085514913a1ad114a5275978f95fd /ViewController.cpp
parent99d7d1695fec28208e19b34bc754dff5dd1e5642 (diff)
finish collision checking implementation
Diffstat (limited to 'ViewController.cpp')
-rw-r--r--ViewController.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/ViewController.cpp b/ViewController.cpp
index 7f3fdfc..989f11a 100644
--- a/ViewController.cpp
+++ b/ViewController.cpp
@@ -3,6 +3,7 @@
#include "ViewController.h"
#include "CollisionChecker.h"
#include "ControlBooleanCommand.h"
+#include "CycleCollisionMethodCommand.h"
#include "QuadTreeCollisionChecker.h"
#include "Exception.h"
#include "KeyboardCode.h"
@@ -121,7 +122,7 @@ void ViewController::ev_keydown(KeyboardCode key) {
break;
}
case KEY_C: {
- // CycleCollisionMethodCommand(this->museum).execute();
+ CycleCollisionMethodCommand(this->museum).execute();
break;
}
case KEY_Q: {