aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorJAROWMR <jarorutjes07@gmail.com>2024-11-20 16:13:46 +0100
committerJAROWMR <jarorutjes07@gmail.com>2024-11-20 16:13:46 +0100
commit91bb45fd6430cc353d2a57f2496c3e9945e98557 (patch)
treef16a007aadba55f74ccda97ef03a557925dfa2ff /src/test
parent37a38c8c9b1b78d214d8e26d45d5a85dc7bd89bd (diff)
updated test
Diffstat (limited to 'src/test')
-rw-r--r--src/test/CollisionTest.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/CollisionTest.cpp b/src/test/CollisionTest.cpp
index 7aadfa6..78765b4 100644
--- a/src/test/CollisionTest.cpp
+++ b/src/test/CollisionTest.cpp
@@ -22,6 +22,8 @@ using namespace crepe;
class UnitTestBoxBoxCollision1 : public Script {
static bool oncollision(const CollisionEvent& test) {
std::cout << "collision event 1" << std::endl;
+ std::cout << "collision event 1 x" << test.info.move_back_value.x << std::endl;
+ std::cout << "collision event 1 y" << test.info.move_back_value.y << std::endl;
return true;
}
void init() {