Skip to content

Commit c0cdf75

Browse files
o-oualidNehon
authored andcommitted
replace addState() with attach() in the javadoc
1 parent 0d5f18c commit c0cdf75

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,15 +67,15 @@ public class BulletAppState implements AppState, PhysicsTickListener {
6767

6868
/**
6969
* Creates a new BulletAppState running a PhysicsSpace for physics
70-
* simulation, use getStateManager().addState(bulletAppState) to enable
70+
* simulation, use getStateManager().attach(bulletAppState) to enable
7171
* physics for an Application.
7272
*/
7373
public BulletAppState() {
7474
}
7575

7676
/**
7777
* Creates a new BulletAppState running a PhysicsSpace for physics
78-
* simulation, use getStateManager().addState(bulletAppState) to enable
78+
* simulation, use getStateManager().attach(bulletAppState) to enable
7979
* physics for an Application.
8080
*
8181
* @param broadphaseType The type of broadphase collision detection,
@@ -87,7 +87,7 @@ public BulletAppState(BroadphaseType broadphaseType) {
8787

8888
/**
8989
* Creates a new BulletAppState running a PhysicsSpace for physics
90-
* simulation, use getStateManager().addState(bulletAppState) to enable
90+
* simulation, use getStateManager().attach(bulletAppState) to enable
9191
* physics for an Application. An AxisSweep broadphase is used.
9292
*
9393
* @param worldMin The minimum world extent

0 commit comments

Comments
 (0)