From f2135acc9accdc938035d753ee6e79c865fd44e2 Mon Sep 17 00:00:00 2001 From: Elizabeth Alexander Hunt Date: Sat, 7 Mar 2026 08:21:41 -0800 Subject: Some refactoring work --- .../java/coffee/liz/dyl/systems/physics/PhysicsSystemsTest.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'core/src/test/java/coffee/liz') diff --git a/core/src/test/java/coffee/liz/dyl/systems/physics/PhysicsSystemsTest.java b/core/src/test/java/coffee/liz/dyl/systems/physics/PhysicsSystemsTest.java index 4c285fb..885c112 100644 --- a/core/src/test/java/coffee/liz/dyl/systems/physics/PhysicsSystemsTest.java +++ b/core/src/test/java/coffee/liz/dyl/systems/physics/PhysicsSystemsTest.java @@ -21,7 +21,7 @@ class PhysicsSystemsTest { @Test public void gravityAcceleratesEntityDownwardOverTime() { - final DAGWorld world = new DAGWorld(new ForceReductionSystem(GRAVITY), new IntegrationSystem()); + final DAGWorld world = new DAGWorld(new AccelerationSystem(GRAVITY), new MovementSystem()); final Entity entity = world.createEntity(); entity.add(new Mass(1f)); entity.add(new Velocity(Vec2f.ZERO)); @@ -37,7 +37,7 @@ class PhysicsSystemsTest { @Test public void forcesAreClearedEachFrame() { - final DAGWorld world = new DAGWorld(new ForceReductionSystem(GRAVITY), new IntegrationSystem()); + final DAGWorld world = new DAGWorld(new AccelerationSystem(GRAVITY), new MovementSystem()); final Entity entity = world.createEntity(); entity.add(new Mass(1f)); entity.add(new Velocity(Vec2f.ZERO)); @@ -53,7 +53,7 @@ class PhysicsSystemsTest { @Test public void entityLandsOnPlatformAndStops() { final DAGWorld world = new DAGWorld( - new ForceReductionSystem(GRAVITY), new IntegrationSystem(), new CollisionSystem()); + new AccelerationSystem(GRAVITY), new MovementSystem(), new CollisionSystem()); final Entity player = world.createEntity(); player.add(new Mass(1f)); -- cgit v1.2.3-70-g09d2