use of src.controller.Controller in project Labyrinthe3d by FauconFan.
the class Main method start.
@Override
public void start(Stage primaryStage) {
Rectangle2D primaryScreenBounds = Screen.getPrimary().getVisualBounds();
primaryStage.setX(primaryScreenBounds.getMinX());
primaryStage.setY(primaryScreenBounds.getMinY());
primaryStage.setWidth(primaryScreenBounds.getWidth());
primaryStage.setHeight(primaryScreenBounds.getHeight());
Controller c = new Controller();
View v = new View(primaryStage, c);
c.initView(v);
}
Aggregations