Updating data on Game Menu #1363
-
How would I re-initialize/update the game menu? I've got a data singleton that stores a value that is accessed by the game menu and displayed to the user. However, I've created my own custom game menu and override this method inside the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi, if these are UI objects, such as JavaFX Text, you can bind its textProperty() to data properties in your singleton. Alternatively, feel free to post links to the source code if you seek a specific solution. |
Beta Was this translation helpful? Give feedback.
Hi, if these are UI objects, such as JavaFX Text, you can bind its textProperty() to data properties in your singleton. Alternatively, feel free to post links to the source code if you seek a specific solution.