Skip to content

Commit

Permalink
Update OnUpdate()
Browse files Browse the repository at this point in the history
  • Loading branch information
tommyah committed May 12, 2026
1 parent 7fba2e0 commit f0c7cb7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -146,4 +146,11 @@ public ArrayList<Button> getButtons() {
public <T2 extends ViewData> void setData(final T2 data) {
setViewName(data.getSceneName());
}

/**
* Method called when updating a view.
* */
public void onUpdate() {

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -116,4 +116,5 @@ protected void initStyling() {
settingsButton.getStyleClass().add("menu-button");
exitButton.getStyleClass().add("menu-button");
}

}

0 comments on commit f0c7cb7

Please sign in to comment.