Merge remote-tracking branch 'origin/Lab_6' into Lab_6
This commit is contained in:
commit
c76a9ca2f6
@ -161,11 +161,10 @@ public class FormWarPlaneCollection extends Application implements Initializable
|
||||
@FXML
|
||||
private void buttonGoToFormWithDeleteObject() {
|
||||
if (!removedPlanesStack.isEmpty()) {
|
||||
goToFormAirFighter(removedPlanesStack.get(new Random().nextInt(0, removedPlanesStack.size())));
|
||||
goToFormAirFighter(removedPlanesStack.pop());
|
||||
} else {
|
||||
showAlert("Стек удаленных объектов пуст.");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@FXML
|
||||
|
Loading…
x
Reference in New Issue
Block a user