瀏覽代碼

replace addState() with attach() in the javadoc

oualid 7 年之前
父節點
當前提交
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
-     * simulation, use getStateManager().addState(bulletAppState) to enable
+     * simulation, use getStateManager().attach(bulletAppState) to enable
      * physics for an Application.
      */
     public BulletAppState() {
@@ -75,7 +75,7 @@ public class BulletAppState implements AppState, PhysicsTickListener {
 
     /**
      * 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.
      *
      * @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
-     * simulation, use getStateManager().addState(bulletAppState) to enable
+     * simulation, use getStateManager().attach(bulletAppState) to enable
      * physics for an Application. An AxisSweep broadphase is used.
      *
      * @param worldMin The minimum world extent