// constructors ------------------------------------------------------------------------- public MenuScreen() { stage = new Stage(new ExtendViewport(screenWidth, screenHeight)); // loads the assets Resources.loadMainMenu(highDef); Resources.manager.finishLoading(); menuSkin = Resources.manager.get( (highDef ? "skins/mainMenuHigh.json" : "skins/mainMenu.json"), Skin.class); // creates the table table = new Table(); table.setSkin(menuSkin); table.setBackground("uiBackground"); }