diff options
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; |