Skip to content

Commit

Permalink
game: rename TogglePhysicsDebugState -> PhysxDebugState
Browse files Browse the repository at this point in the history
  • Loading branch information
capdevon committed Nov 16, 2023
1 parent d3ab9b3 commit b4bb3b7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion game/src/main/java/com/capdevon/physx/PhysxDebugState.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
/**
* @author capdevon
*/
public class TogglePhysicsDebugState extends BaseAppState implements ActionListener {
public class PhysxDebugState extends BaseAppState implements ActionListener {

private static final String TOGGLE_PHYSICS_DEBUG = "TOGGLE_PHYSICS_DEBUG";
private static final String DUMP_PHYSICS = "DUMP_PHYSICS";
Expand Down
4 changes: 2 additions & 2 deletions game/src/main/java/mygame/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import com.capdevon.engine.SceneManager;
import com.capdevon.input.GInputAppState;
import com.capdevon.physx.Physics;
import com.capdevon.physx.TogglePhysicsDebugState;
import com.capdevon.physx.PhysxDebugState;
import com.jme3.app.FlyCamAppState;
import com.jme3.app.state.ScreenshotAppState;
import com.jme3.bullet.BulletAppState;
Expand Down Expand Up @@ -87,7 +87,7 @@ public void simpleInitApp() {
stateManager.attach(new SceneManager());
stateManager.attach(new GInputAppState());
stateManager.attach(new GameManager());
stateManager.attach(new TogglePhysicsDebugState());
stateManager.attach(new PhysxDebugState());

// stateManager.attach(new SceneAppState());
// stateManager.attach(new GInputAppState());
Expand Down

0 comments on commit b4bb3b7

Please sign in to comment.