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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidfinishes a match and updates the match scene.voidinitialize(URL url, ResourceBundle resourceBundle) Run when the page is loaded in.voidTeam one score decreases.voidTeam one score increases.voidTeam two score decreases.voidTeam two score increases.voidUpdates 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:
initializein interfacejavafx.fxml.Initializable- Parameters:
url- URL: represents a Uniform Resource LocatorresourceBundle- ResourceBundle: contains locale-specific objects
-