Revision 1378,
423 bytes
checked in by giegl, 18 years ago
(diff) |
GTPD - Jungle Rumble - integrate into GTP SVN structure
|
Rev | Line | |
---|
[1378] | 1 | #include "dxstdafx.h"
|
---|
| 2 | #include ".\usernotify.h"
|
---|
| 3 | #include "GameManager.h"
|
---|
| 4 | #include "Scene.h"
|
---|
| 5 |
|
---|
| 6 | UserNotify::UserNotify(void)
|
---|
| 7 | {
|
---|
| 8 | }
|
---|
| 9 |
|
---|
| 10 | UserNotify::~UserNotify(void)
|
---|
| 11 | {
|
---|
| 12 | }
|
---|
| 13 |
|
---|
| 14 | void UserNotify::setScene(Scene* _scene)
|
---|
| 15 | {
|
---|
| 16 | this->scene = _scene;
|
---|
| 17 | }
|
---|
| 18 |
|
---|
| 19 | bool UserNotify::onJointBreak(NxReal breakingForce, NxJoint & brokenJoint)
|
---|
| 20 | {
|
---|
| 21 | this->scene->manager->printToConsole("Joint break!");
|
---|
| 22 | return true; //delete the joint
|
---|
| 23 | }
|
---|
| 24 |
|
---|
Note: See
TracBrowser
for help on using the repository browser.