@@ -0,0 +1,2112 @@
+import java.util.*;%0A%0A/*%0A* AchievementTracker needs some of the methods here properly function%0A*/%0A%0Apublic class Player%7B%0A   private ArrayList%3CAchievement%3E locked;%0A   private ArrayList%3CAchievement%3E unlocked;%0A   public double drug;%0A   public double money;%0A   public double launderedMoney;%0A   %0A   public Player()%7B%0A      locked = new ArrayList%3CAchievement%3E();%0A      unlocked = new ArrayList%3CAchievement%3E();%0A      drug = 0;%0A      money = 0;%0A      launderedMoney = 0;%0A   %7D%0A   %0A   // creates and add an achievement in the locked list%0A   public void addAchievement(int ID, String description)%7B%0A      locked.add(new Achievement(ID, description));%0A   %7D%0A   %0A   // returns the number of unearned achievements%0A   public int getLockedSize()%7B%0A      return locked.size();%0A   %7D%0A   %0A   // seachers for the achievement in the locked list, removes it and adds it to unlocked%0A   public void unlockAchievement(int ID)%7B%0A      Achievement a = null;%0A      for (int i = 0; i %3C locked.size() && a == null;i++)%7B%0A         if (locked.get(i).getID() == ID)%7B%0A            a = locked.get(i);%0A            locked.remove(i);%0A            unlocked.add(a);%0A         %7D%0A      %7D%0A   %7D%0A   %0A   public double getDrug()%7B%0A      return drug;%0A   %7D%0A   %0A   public double getMoney()%7B%0A      return money;%0A   %7D%0A      %0A   public double getLaunderedMoney()%7B%0A      return launderedMoney;%0A   %7D%0A   %0A   // returns locked achievement in the given index%0A   public Achievement getAchievement(int i)%7B%0A      return locked.get(i);%0A   %7D%0A   %0A   // not normally used, for testing purposes%0A   public void printAchis()%7B%0A      System.out.println(%22Locked:%22);%0A      for (int i = 0; i %3C locked.size();i++)%0A         System.out.println(locked.get(i).getDescription());%0A      System.out.println(%22Unlocked:%22);%0A      for (int i = 0; i %3C unlocked.size();i++)%0A         System.out.println(unlocked.get(i).getDescription());%0A   %7D%0A   %0A   // returns the IDs of unlocked achievements so they can be saved%0A   public ArrayList%3CInteger%3E getEarnedAchievementIDs()%7B%0A      ArrayList%3CInteger%3E i = new ArrayList%3CInteger%3E();%0A      for (Achievement a : unlocked)%0A         i.add(a.getID());%0A      return i;%0A   %7D%0A%7D%0A

Create Player.java