From b4bb3b7c5929cfb094e4a039ad19cac37ce12be8 Mon Sep 17 00:00:00 2001 From: capdevon Date: Thu, 16 Nov 2023 10:55:28 +0100 Subject: [PATCH] game: rename TogglePhysicsDebugState -> PhysxDebugState --- game/src/main/java/com/capdevon/physx/PhysxDebugState.java | 2 +- game/src/main/java/mygame/Main.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/game/src/main/java/com/capdevon/physx/PhysxDebugState.java b/game/src/main/java/com/capdevon/physx/PhysxDebugState.java index 8ce3f8e..97850e1 100644 --- a/game/src/main/java/com/capdevon/physx/PhysxDebugState.java +++ b/game/src/main/java/com/capdevon/physx/PhysxDebugState.java @@ -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"; diff --git a/game/src/main/java/mygame/Main.java b/game/src/main/java/mygame/Main.java index c0a687b..bbebf62 100644 --- a/game/src/main/java/mygame/Main.java +++ b/game/src/main/java/mygame/Main.java @@ -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; @@ -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());