Module edu.ntnu.idatt1002.k1g4
Class MatchOverviewController
java.lang.Object
edu.ntnu.idatt1002.k1g4.client.controllers.MatchOverviewController
- All Implemented Interfaces:
javafx.fxml.Initializable
The match overview controller.
Coupled with the match-overview.fxml file
- Version:
- 0.4
- Author:
- Runar Indahl, Nicolai H. Brand, Eilert Werner Hansen, Callum Gran
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
finishes a match and updates the match scene.void
initialize
(URL url, ResourceBundle resourceBundle) Run when the page is loaded in.void
Team one score decreases.void
Team one score increases.void
Team two score decreases.void
Team two score increases.void
Updates the scene with new values
-
Constructor Details
-
MatchOverviewController
public MatchOverviewController()
-
-
Method Details
-
teamOneScoreIncr
public void teamOneScoreIncr()Team one score increases. -
teamOneScoreDecr
public void teamOneScoreDecr()Team one score decreases. -
teamTwoScoreIncr
public void teamTwoScoreIncr()Team two score increases. -
teamTwoScoreDecr
public void teamTwoScoreDecr()Team two score decreases. -
updateMatchValues
public void updateMatchValues()Updates the scene with new values -
endMatchValues
public void endMatchValues()finishes a match and updates the match scene. -
initialize
Run when the page is loaded in.- Specified by:
initialize
in interfacejavafx.fxml.Initializable
- Parameters:
url
- URL: represents a Uniform Resource LocatorresourceBundle
- ResourceBundle: contains locale-specific objects
-