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);
Spatial piece = pieces.get(uuid).getSpatial();
piece.addControl(new MatrixAnimation(app, radarPos,()-> {
piece.addControl(new FadeControl(1,1,0,
() -> {
throwPiece(uuid);
piece.addControl(new FadeControl(1,0,1));
}
));
throwPieceAnim(uuid);
}));
}

View File

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