mirror of
https://athene2.informatik.unibw-muenchen.de/progproj/gruppen-ht24/Gruppe-02.git
synced 2024-11-28 18:59:47 +01:00
fixed sizes of the boats
This commit is contained in:
parent
2b8bfb82ba
commit
2192f6dbc3
BIN
Projekte/Boje.j3o
Normal file
BIN
Projekte/Boje.j3o
Normal file
Binary file not shown.
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user