WeiterspielenButton
This commit is contained in:
parent
8efcc29244
commit
e818be6c17
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();
|
||||
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 = false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user