aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
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() {