removed fadeControl

This commit is contained in:
Cedric Beck
2024-12-10 13:00:03 +01:00
parent 30997eb571
commit 0c7030659a
2 changed files with 4 additions and 9 deletions

View File

@@ -848,12 +848,7 @@ private void throwMatrix(UUID uuid) {
app.getAcousticHandler().playSound(MdgaSound.MATRIX); app.getAcousticHandler().playSound(MdgaSound.MATRIX);
Spatial piece = pieces.get(uuid).getSpatial(); Spatial piece = pieces.get(uuid).getSpatial();
piece.addControl(new MatrixAnimation(app, radarPos,()-> { piece.addControl(new MatrixAnimation(app, radarPos,()-> {
piece.addControl(new FadeControl(1,1,0, throwPieceAnim(uuid);
() -> {
throwPiece(uuid);
piece.addControl(new FadeControl(1,0,1));
}
));
})); }));
} }

View File

@@ -87,9 +87,9 @@ public Game() {
gameStatistics = new Statistic(); gameStatistics = new Statistic();
initializeDrawPile(); initializeDrawPile();
board = new Board(); board = new Board();
die = new Die(1,2,3, die = new Die(1,2,3,4,
5,1,1, //SHIELD 5, 1,1,1
3); //MODIFIER );
} }
/** /**