src/com/mmpp/motivationapp/backend/Achiever.java
public void addAchievement(String s, ArrayList<Achievement> a) {
		if(s.isEmpty()) {
			return;
		}
		String [] split = s.split(";");
		int cost = Integer.parseInt(split[1]);
		Achievement achievement = new Achievement(split[0], cost, split[2], split[3]);
		a.add(achievement);
		return;
	}
/**
	 * Adds an achievement to the AllAchievements list
	 * @param s the string containing a line from the achievement bank text file
	 */
Adds an achievement to the AllAchievements list
@param s the string containing a line from the achievement bank text file
Adds an achievement to the AllAchievements list @param s the string containing a line from the achievement bank text file
public void addAchievement(String s, ArrayList<Achievement> a) {
		if(s.isEmpty()) {
			return;
		}
		String [] split = s.split(";");
		int cost = Integer.parseInt(split[1]);
		Achievement achievement = new Achievement(split[0], cost, split[2], split[3]);
		a.add(achievement);
		return;
	}
public void addAchievement ( String s , ArrayList < Achievement > a ) { if ( s . isEmpty ( ) ) { return ; } String [ ] split = s . split ( ";" ) ; int cost = Integer . parseInt ( split [ 1 ] ) ; Achievement achievement = new Achievement ( split [ 0 ] , cost , split [ 2 ] , split [ 3 ] ) ; a . add ( achievement ) ; return ; }
Adds an achievement to the AllAchievements list
 @param s the string containing a line from the achievement bank text file
Adds an achievement to the AllAchievements list @param s the string containing a line from the achievement bank text file