merge the new developmentbranch into the test branch #39
@@ -167,10 +167,12 @@ private void handleGame(Notification notification) {
|
||||
if(n.isMoveStart()) {
|
||||
//StartMove
|
||||
boardHandler.movePieceStartAnim(n.getPiece(), n.getMoveIndex());
|
||||
waitForAnimation = true;
|
||||
}
|
||||
else {
|
||||
//InfieldMove
|
||||
boardHandler.movePieceAnim(n.getPiece(), n.getStartIndex(), n.getMoveIndex());
|
||||
waitForAnimation = true;
|
||||
}
|
||||
guiHandler.hideText();
|
||||
} else if (notification instanceof ThrowPieceNotification n) {
|
||||
|
||||
@@ -473,6 +473,7 @@ private void movePieceStart(UUID uuid, int nodeIndex){
|
||||
removeItemFromMapList(waitingPiecesMap, color, pieceControl);
|
||||
waitingNodes.get(color).remove(uuid);
|
||||
app.getModelSynchronize().animationEnd();
|
||||
app.getModelSynchronize().animationEnd();
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -486,6 +487,7 @@ private void movePiece(UUID uuid, int curIndex, int moveIndex){
|
||||
|
||||
movePieceRek(uuid, curIndex, moveIndex);
|
||||
app.getModelSynchronize().animationEnd();
|
||||
app.getModelSynchronize().animationEnd();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user