aboutsummaryrefslogtreecommitdiff
path: root/src/test/CollisionTest.cpp
diff options
context:
space:
mode:
authorJAROWMR <jarorutjes07@gmail.com>2024-11-23 22:07:15 +0100
committerJAROWMR <jarorutjes07@gmail.com>2024-11-23 22:07:15 +0100
commitc341f6a44699d71b8b20e6b814274b30e43514c8 (patch)
treefa92e3f5ab4cb8afab6dc623d02ff4768bc849c8 /src/test/CollisionTest.cpp
parentc757a5108f4750be5dc6c9d5dda49ad506fae990 (diff)
added profiling test
Diffstat (limited to 'src/test/CollisionTest.cpp')
-rw-r--r--src/test/CollisionTest.cpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/test/CollisionTest.cpp b/src/test/CollisionTest.cpp
index e36260c..245cced 100644
--- a/src/test/CollisionTest.cpp
+++ b/src/test/CollisionTest.cpp
@@ -22,22 +22,6 @@ using namespace std::chrono_literals;
using namespace crepe;
using namespace testing;
-// class MyScript : public Script {
-// bool oncollision(const CollisionEvent& test) {
-// Log::logf("Box {} script on_collision()", test.info.first.collider.game_object_id);
-// return true;
-// }
-// void init() {
-// subscribe<CollisionEvent>([this](const CollisionEvent& ev) -> bool {
-// return this->oncollision(ev);
-// });
-// }
-// void update() {
-// // Retrieve component from the same GameObject this script is on
-// }
-// };
-
-
class CollisionHandler : public Script {
public:
int box_id;