#include "dxstdafx.h" #include ".\usernotify.h" #include "GameManager.h" #include "Scene.h" UserNotify::UserNotify(void) { } UserNotify::~UserNotify(void) { } void UserNotify::setScene(Scene* _scene) { this->scene = _scene; } bool UserNotify::onJointBreak(NxReal breakingForce, NxJoint & brokenJoint) { this->scene->manager->printToConsole("Joint break!"); return true; //delete the joint }