public void bind(Nifty nifty, Screen screen) { this.nifty = nifty; // CustomControlCreator createMultiplayerPanel = new CustomControlCreator("myPlayerPanel", // "playerPanel"); // createMultiplayerPanel.create(nifty, screen, screen.findElementByName("slot0")); playerLoader(MenuApp.getInstance(), screen, "Map1"); }
public void host() { nifty.gotoScreen("mapselection"); MenuApp.getInstance().getNifty().resolutionChanged(); }