Feat: Game UI optimization #342

Merged
j.kropff merged 15 commits from feat/game-ui-optimization into main 2026-05-16 22:52:37 +02:00
Showing only changes of commit 0b3c0a728c - Show all commits
@@ -1827,6 +1827,24 @@ public class TaskbarController {
} }
} }
/**
* Opens the integrated Casono web browser.
*
* <p>once the content for strategies and support is available.
*/
@FXML
private void onBrowserButtonClickCasono() {
SoundManager.getInstance().playButtonClick();
try {
Path path = Paths.get(System.getProperty("user.dir"), "outreach", "index.html");
CasinoBrowserController.open(path.toUri().toString());
} catch (Exception e) {
e.printStackTrace();
}
}
/** Opens the integrated Casono Web Browser. */ /** Opens the integrated Casono Web Browser. */
@FXML @FXML
private void onBrowserButtonClickWiki() { private void onBrowserButtonClickWiki() {
@@ -1851,6 +1869,18 @@ public class TaskbarController {
} }
} }
/** Opens the integrated Casono Web Browser. */
@FXML
private void onBrowserButtonClickVSCode() {
try {
CasinoBrowserController.open("https://vscode.dev/");
} catch (Exception e) {
e.printStackTrace();
}
}
/** Opens the tips notebook if it's currently closed. */ /** Opens the tips notebook if it's currently closed. */
@FXML @FXML
private void onShowTipsButtonClick() { private void onShowTipsButtonClick() {