|
@@ -120,6 +120,7 @@ public class HelloCollision extends SimpleApplication
|
|
|
//Some methods used for setting gravity related variables were deprecated in
|
|
|
//the 3.2 version of the engine. Choose the method that matches your version
|
|
|
//of the engine.
|
|
|
+ // < jME3.2
|
|
|
// player.setGravity(30f);
|
|
|
|
|
|
// >= jME3.2
|
|
@@ -176,6 +177,7 @@ public class HelloCollision extends SimpleApplication
|
|
|
//Some methods used for setting gravity related variables were deprecated in
|
|
|
//the 3.2 version of the engine. Choose the method that matches your version
|
|
|
//of the engine.
|
|
|
+ // < jME3.2
|
|
|
//if (isPressed) { player.jump();}
|
|
|
|
|
|
// >= jME3.2
|