hanze/game-client

src/main/java/nl/isygameclient/controllers/games/GameController.java in tournament
Repositories | Summary | Log | Files

GameController.java (427B) download


 1package nl.isygameclient.controllers.games;
 2
 3import javafx.fxml.FXML;
 4import nl.isygameclient.models.Game;
 5import nl.isygameclient.util.StageHandler;
 6
 7public abstract class GameController {
 8
 9    protected Game game;
10
11    @FXML
12    protected void onExitButtonClick() {
13        var settingsHandler = StageHandler.get();
14        settingsHandler.getStage("Game").hide();
15        settingsHandler.focusStage("GameSelector");
16    }
17}