public void setGraphicConfig(int graphicConfig) { Tool tool = new ChangeIntegerValueTool(adventureData, graphicConfig, "getGraphicConfig", "setGraphicConfig"); Controller.getInstance().addTool(tool); }
public void setGUIStyleDialog(int optionSelected) { Tool tool = new ChangeIntegerValueTool(adventureData, optionSelected, "getGUIType", "setGUIType"); Controller.getInstance().addTool(tool); }
/** * @param playerMode * the playerMode to set */ public void setPlayerMode(int playerMode) { Tool tool = new ChangeIntegerValueTool(adventureData, playerMode, "getPlayerMode", "setPlayerMode"); Controller.getInstance().addTool(tool); }