public static void saveHighscore(int newHigh) { highScoreSave.setNumber(highScoreName, newHigh); try { highScoreSave.save(); } catch (IOException e) { e.printStackTrace(); } highScore = newHigh; }