WeiterspielenButton
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -603,6 +603,15 @@ public class HappyBirdMain extends Application {
|
|||||||
pause.getChildren().clear();
|
pause.getChildren().clear();
|
||||||
pane.getChildren().remove(pause);
|
pane.getChildren().remove(pause);
|
||||||
|
|
||||||
|
/*Pausieren der Transitions/ Pipes*/
|
||||||
|
for(Transition transition : transitions) {
|
||||||
|
transition.play();
|
||||||
|
System.out.println(transition.toString());
|
||||||
|
}
|
||||||
|
|
||||||
|
/*Pausieren der Timeline, sodass keine neuen Pipes spawnen*/
|
||||||
|
timeline.play();
|
||||||
|
|
||||||
/*gameRunning auf false setzen, da sonst 2x Click auf Pause-Button bzw. ESC*/
|
/*gameRunning auf false setzen, da sonst 2x Click auf Pause-Button bzw. ESC*/
|
||||||
gameRunning = false;
|
gameRunning = false;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user