merge the new developmentbranch into the test branch #39
@@ -160,7 +160,7 @@ private void handleGame(Notification notification) {
|
|||||||
} else if (notification instanceof HomeMoveNotification home) {
|
} else if (notification instanceof HomeMoveNotification home) {
|
||||||
boardHandler.movePieceHomeAnim(home.getPieceId(), home.getHomeIndex());
|
boardHandler.movePieceHomeAnim(home.getPieceId(), home.getHomeIndex());
|
||||||
guiHandler.hideText();
|
guiHandler.hideText();
|
||||||
app.getGameLogic().selectAnimationEnd();
|
waitForAnimation = true;
|
||||||
} else if (notification instanceof InterruptNotification notification1) {
|
} else if (notification instanceof InterruptNotification notification1) {
|
||||||
gameView.enterInterrupt(notification1.getColor());
|
gameView.enterInterrupt(notification1.getColor());
|
||||||
} else if (notification instanceof MovePieceNotification n) {
|
} else if (notification instanceof MovePieceNotification n) {
|
||||||
|
|||||||
@@ -442,6 +442,7 @@ private void moveHomePiece(UUID uuid, int index){
|
|||||||
|
|
||||||
pieceControl.setRotation(getRotationMove(firstHomeNode.getLocation(), lastHomeNode.getLocation()));
|
pieceControl.setRotation(getRotationMove(firstHomeNode.getLocation(), lastHomeNode.getLocation()));
|
||||||
app.getModelSynchronize().animationEnd();
|
app.getModelSynchronize().animationEnd();
|
||||||
|
app.getModelSynchronize().animationEnd();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user