@Override public void save(Config config) { config.set(keyScencoCommand, getScencoCommand()); config.set(keyEspressoCommand, getEspressoCommand()); config.set(keyAbcFolder, getAbcFolder()); config.set(keyPGMinerCommand, getPgminerCommand()); }
@Override public void save(Config config) { config.setDouble(keyStartX, getStartX()); config.setDouble(keyStartY, getStartY()); config.setDouble(keyRangeX, getRangeX()); config.setDouble(keyRangeY, getRangeY()); }
@Override public void load(Config config) { setScencoCommand(config.getString(keyScencoCommand, defaultScencoCommand)); setEspressoCommand(config.getString(keyEspressoCommand, defaultEspressoCommand)); setAbcFolder(config.getString(keyAbcFolder, defaultAbcFolder)); setPgminerCommand(config.getString(keyPGMinerCommand, defaultPgminerCommand)); }
@Override public void load(Config config) { setStartX(config.getDouble(keyStartX, defaultStartX)); setStartY(config.getDouble(keyStartY, defaultStartY)); setRangeX(config.getDouble(keyRangeX, defaultRangeX)); setRangeY(config.getDouble(keyRangeY, defaultRangeY)); }