Fix error
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
<component name="ProjectRunConfigurationManager">
|
||||
<configuration default="false" name="MdgaApp" type="Application" factoryName="Application" singleton="false" nameIsGenerated="true">
|
||||
<option name="ALTERNATIVE_JRE_PATH" value="20" />
|
||||
<option name="ALTERNATIVE_JRE_PATH" value="21" />
|
||||
<option name="ALTERNATIVE_JRE_PATH_ENABLED" value="true" />
|
||||
<option name="MAIN_CLASS_NAME" value="pp.mdga.client.MdgaApp" />
|
||||
<module name="Gruppe-01.Projekte.mdga.client.main" />
|
||||
<module name="Projekte" />
|
||||
<option name="VM_PARAMETERS" value="-Djava.util.logging.config.file=logging.properties -ea" />
|
||||
<option name="WORKING_DIRECTORY" value="$MODULE_WORKING_DIR$" />
|
||||
<extension name="coverage">
|
||||
|
||||
@@ -160,7 +160,7 @@ private void handleGame(Notification notification) {
|
||||
} else if (notification instanceof HomeMoveNotification home) {
|
||||
boardHandler.movePieceHomeAnim(home.getPieceId(), home.getHomeIndex());
|
||||
guiHandler.hideText();
|
||||
app.getGameLogic().selectAnimationEnd();
|
||||
waitForAnimation = true;
|
||||
} else if (notification instanceof InterruptNotification notification1) {
|
||||
gameView.enterInterrupt(notification1.getColor());
|
||||
} else if (notification instanceof MovePieceNotification n) {
|
||||
|
||||
@@ -442,6 +442,7 @@ private void moveHomePiece(UUID uuid, int index){
|
||||
|
||||
pieceControl.setRotation(getRotationMove(firstHomeNode.getLocation(), lastHomeNode.getLocation()));
|
||||
app.getModelSynchronize().animationEnd();
|
||||
app.getModelSynchronize().animationEnd();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user