diff --git a/Projekte/Boje.j3o b/Projekte/Boje.j3o new file mode 100644 index 0000000..b8cdbcb Binary files /dev/null and b/Projekte/Boje.j3o differ diff --git a/Projekte/battleship/client/src/main/java/pp/battleship/client/gui/SeaSynchronizer.java b/Projekte/battleship/client/src/main/java/pp/battleship/client/gui/SeaSynchronizer.java index 72feed9..24bfb42 100644 --- a/Projekte/battleship/client/src/main/java/pp/battleship/client/gui/SeaSynchronizer.java +++ b/Projekte/battleship/client/src/main/java/pp/battleship/client/gui/SeaSynchronizer.java @@ -150,8 +150,7 @@ class SeaSynchronizer extends ShipMapSynchronizer { private Spatial createShip(Battleship ship) { switch (ship.getLength()) { - case 1: - return createBoje(ship); + case 2: return createUX23(ship); @@ -160,7 +159,7 @@ class SeaSynchronizer extends ShipMapSynchronizer { return createMarlow66(ship); case 4: return createBattleship(ship); - case 5: + case 1: return createAllienship(ship); default: @@ -171,7 +170,7 @@ class SeaSynchronizer extends ShipMapSynchronizer { final Spatial model = app.getAssetManager().loadModel(ALIENSHIP); model.rotate(-HALF_PI, calculateRotationAngle(ship.getRot()), 0f); - model.scale(0.05f); + model.scale(0.10f); model.setShadowMode(ShadowMode.CastAndReceive); return model;} @@ -180,7 +179,7 @@ class SeaSynchronizer extends ShipMapSynchronizer { model.rotate(-HALF_PI, calculateRotationAngle(ship.getRot()), 0f); // model.move(0f, -0.05f, 0f); - model.scale(0.27f); + model.scale(0.89f); model.setShadowMode(ShadowMode.CastAndReceive); return model; @@ -192,7 +191,7 @@ class SeaSynchronizer extends ShipMapSynchronizer { model.rotate(0f, calculateRotationAngle(ship.getRot()), 0f); model.move(0f, 0.25f, 0f); - model.scale(0.0185f); + model.scale(0.135f); model.setShadowMode(ShadowMode.CastAndReceive); return model; @@ -202,8 +201,8 @@ class SeaSynchronizer extends ShipMapSynchronizer { final Spatial model = app.getAssetManager().loadModel(BOJE); model.rotate(0f, calculateRotationAngle(ship.getRot()), 0f); - model.move(0.25f, 0.00f, 0.25f); - model.scale(1.1f); + model.move(0.00f, 0.25f, 0.00f); + model.scale(12.23f); model.setShadowMode(ShadowMode.CastAndReceive); return model;