From 4ef9f62124603457ac34dd71b8654ae95432b1a8 Mon Sep 17 00:00:00 2001 From: Andrin Fassbind Date: Fri, 6 May 2022 13:36:49 +0200 Subject: [PATCH] update game with new id and new button to mark game as played --- .../main/gameScheduleView/GameController.java | 20 +++++++++++++++++++ .../gameScheduleView/Game.fxml | 6 +++--- 2 files changed, 23 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/ch/zhaw/projekt2/turnierverwaltung/main/gameScheduleView/GameController.java b/app/src/main/java/ch/zhaw/projekt2/turnierverwaltung/main/gameScheduleView/GameController.java index 836c784..f3d3ed5 100644 --- a/app/src/main/java/ch/zhaw/projekt2/turnierverwaltung/main/gameScheduleView/GameController.java +++ b/app/src/main/java/ch/zhaw/projekt2/turnierverwaltung/main/gameScheduleView/GameController.java @@ -1,14 +1,34 @@ package ch.zhaw.projekt2.turnierverwaltung.main.gameScheduleView; import ch.zhaw.projekt2.turnierverwaltung.FXController; +import javafx.event.ActionEvent; import javafx.fxml.FXML; import javafx.scene.control.ChoiceBox; +import javafx.scene.control.Label; +import javafx.scene.control.TextField; public class GameController extends FXController { + @FXML + private Label participantNameOne; + + @FXML + private Label participantNameTwo; + @FXML private ChoiceBox placesChoiceBox; + @FXML + private TextField pointsTeamOne; + + @FXML + private TextField pointsTeamTwo; + + @FXML + void saveGamerResult(ActionEvent event) { + + } + @Override public void loadContent() { diff --git a/app/src/main/resources/ch/zhaw/projekt2/turnierverwaltung/gameScheduleView/Game.fxml b/app/src/main/resources/ch/zhaw/projekt2/turnierverwaltung/gameScheduleView/Game.fxml index 815b2db..0a66d61 100644 --- a/app/src/main/resources/ch/zhaw/projekt2/turnierverwaltung/gameScheduleView/Game.fxml +++ b/app/src/main/resources/ch/zhaw/projekt2/turnierverwaltung/gameScheduleView/Game.fxml @@ -10,7 +10,7 @@ -