public void saveHighscores(ScoreEntry[] scores){
		File f = new File(highscoresFileName);
		try{
			BufferedWriter bw = new BufferedWriter(new FileWriter(f));
			for(ScoreEntry score : scores){
				bw.write(score.getName()+";"+score.getScore()+System.lineSeparator());
			}
			bw.close();
		}
		catch(IOException e){}
	}