Просмотр исходного кода

replace addState() with attach() in the javadoc

oualid 7 лет назад
Родитель
Сommit
c0cdf75603
1 измененных файлов с 3 добавлено и 3 удалено
  1. 3 3
      jme3-bullet/src/common/java/com/jme3/bullet/BulletAppState.java

+ 3 - 3
jme3-bullet/src/common/java/com/jme3/bullet/BulletAppState.java

@@ -67,7 +67,7 @@ public class BulletAppState implements AppState, PhysicsTickListener {
 
 
     /**
     /**
      * Creates a new BulletAppState running a PhysicsSpace for physics
      * Creates a new BulletAppState running a PhysicsSpace for physics
-     * simulation, use getStateManager().addState(bulletAppState) to enable
+     * simulation, use getStateManager().attach(bulletAppState) to enable
      * physics for an Application.
      * physics for an Application.
      */
      */
     public BulletAppState() {
     public BulletAppState() {
@@ -75,7 +75,7 @@ public class BulletAppState implements AppState, PhysicsTickListener {
 
 
     /**
     /**
      * Creates a new BulletAppState running a PhysicsSpace for physics
      * Creates a new BulletAppState running a PhysicsSpace for physics
-     * simulation, use getStateManager().addState(bulletAppState) to enable
+     * simulation, use getStateManager().attach(bulletAppState) to enable
      * physics for an Application.
      * physics for an Application.
      *
      *
      * @param broadphaseType The type of broadphase collision detection,
      * @param broadphaseType The type of broadphase collision detection,
@@ -87,7 +87,7 @@ public class BulletAppState implements AppState, PhysicsTickListener {
 
 
     /**
     /**
      * Creates a new BulletAppState running a PhysicsSpace for physics
      * Creates a new BulletAppState running a PhysicsSpace for physics
-     * simulation, use getStateManager().addState(bulletAppState) to enable
+     * simulation, use getStateManager().attach(bulletAppState) to enable
      * physics for an Application. An AxisSweep broadphase is used.
      * physics for an Application. An AxisSweep broadphase is used.
      *
      *
      * @param worldMin The minimum world extent
      * @param worldMin The minimum world extent