@Override public void exec(List<String> parameter) { int y = Integer.parseInt(parameter.get(0)); int x = Settings.get(SetKeys.WIN_WIDTH) == null ? 0 : Settings.get(SetKeys.WIN_WIDTH, Integer.class); Settings.setWindowResolution(x, y); }
@Override public void exec(List<String> parameter) { Settings.setWindowResolution( Integer.parseInt(parameter.get(0)), Integer.parseInt(parameter.get(1))); }