@@ -0,0 +1,843 @@
+/* File: MoveList.java%0A * Author: Kevin Khieu%0A * Defines the list of moves corresponding to each Pokemon by reading in the Pokemon-Moves.txt file */%0A %0Aimport acm.util.*;%0Aimport java.io.*;%0Aimport java.util.*;%0A%0Apublic class MoveList %7B%0A%09private Map %3CString, Move%3E moveLog = new HashMap%3CString,Move%3E ();%0A%09%0A%09public MoveList(String filename2)%7B%0A%09%09try %7B%0A%09%09%09BufferedReader rd = new BufferedReader(new FileReader(filename2));%0A%09%09%09while (true) %7B%0A%09%09%09%09String line = rd.readLine();%0A%09%09%09%09if (line == null) break;%0A%09%09%09%09Move entry = new Move(line);%0A%09%09%09%09moveLog.put(entry.getName(), entry);%0A%09%09%09%7D%0A%09%09%09rd.close();%0A%09%09%09%7D catch(IOException ex) %7B%0A%09%09%09%09throw new ErrorException(ex);%0A%09%09%09%7D%0A%09%0A%09%7D%0A%09%0A%09// Getter function for finding Pokemon.%0A%09public Move findEntry(String name) %7B%0A%09%09if (moveLog.containsKey(name))%7B%0A%09%09%09return moveLog.get(name);%0A%09%09%7D else %7B%0A%09%09%09return null;%0A%09%09%7D%0A%09%7D%0A%7D%0A

Create MoveList.java