public FXGLScene(int width, int height) { root = new Pane(); root.setBackground(null); contentRoot = new Pane(); contentRoot.setBackground(null); root.getChildren().addAll(contentRoot); // should pass thru ctor params? viewport = new Viewport(width, height); if (FXGL.isDesktop()) { setCursor("fxgl_default.png", new Point2D(7, 6)); } }