diff options
author | JAROWMR <jarorutjes07@gmail.com> | 2024-11-23 22:07:15 +0100 |
---|---|---|
committer | JAROWMR <jarorutjes07@gmail.com> | 2024-11-23 22:07:15 +0100 |
commit | c341f6a44699d71b8b20e6b814274b30e43514c8 (patch) | |
tree | fa92e3f5ab4cb8afab6dc623d02ff4768bc849c8 /src/test/CollisionTest.cpp | |
parent | c757a5108f4750be5dc6c9d5dda49ad506fae990 (diff) |
added profiling test
Diffstat (limited to 'src/test/CollisionTest.cpp')
-rw-r--r-- | src/test/CollisionTest.cpp | 16 |
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; |