Ver código fonte

Removed references to prior versions of jme jump method.

mitm 6 anos atrás
pai
commit
e0b0658a84
1 arquivos alterados com 0 adições e 14 exclusões
  1. 0 14
      src/docs/asciidoc/jme3/beginner/hello_collision.adoc

+ 0 - 14
src/docs/asciidoc/jme3/beginner/hello_collision.adoc

@@ -171,13 +171,6 @@ public class HelloCollision extends SimpleApplication
     } else if (binding.equals("Down")) {
       down = isPressed;
     } else if (binding.equals("Jump")) {
-      //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
       if (isPressed) { player.jump(new Vector3f(0,20f,0));}
     }
   }
@@ -461,13 +454,6 @@ Remember that this class implements the `ActionListener` interface, so you can c
     } else if (binding.equals("Down")) {
       if (value) { down = true; } else { down = false; }
     } else if (binding.equals("Jump")) {
-      //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
       if (isPressed) { player.jump(new Vector3f(0,20f,0));}
     }
   }