selectedTileInfoGroup.setPrefWidth(160.0);
selectedTileInfoGroup.getChildren().addAll(selectedTileInfoRect, selectedTileInfo);
selectedTileInfoGroup.setLayoutX((250.0 - selectedTileInfoGroup.getPrefWidth()) / 2.0);
selectedTileInfoGroup.setLayoutY(25.0);
Group menu = new Group();
menu.setLayoutX(screenWidth - 250);
menu.getChildren().addAll(menuBackground, selectedTileInfoGroup);
tilesGroup = new OrderedGroup();
tilesGroup.setTranslateX((screenWidth - 250) / 2);
tilesGroup.setTranslateY(World.TILE_HEIGHT * 3);
worldScrollBoundaries.setX(World.TILE_WIDTH * renderer.getWorld().getSizeSqrt() / 2.0);
worldScrollBoundaries.setWidth(World.TILE_WIDTH * (renderer.getWorld().getSizeSqrt() + 2.0) / 2.0 * -1.0 + (screenWidth - 250.0));
// clipping container for rendered land
Group clipContainer = new Group();
clipContainer.setClip(new Rectangle(screenWidth - 250, screenHeight));
clipContainer.getChildren().add(tilesGroup);
// land can only be dragged by the size of the container
inputCapture.setWidth(clipContainer.getClip().getLayoutBounds().getWidth());
inputCapture.setHeight(clipContainer.getClip().getLayoutBounds().getHeight());
getChildren().addAll(mainBackground, menu, clipContainer, inputCapture);
}