@@ -0,0 +1,1020 @@
+/* File: Move.java%0A * Author: Kevin Khieu%0A * Defines the behavior of a Pokemon move. */%0A%0Aimport java.util.*;%0A%0Apublic class Move %7B%0A%09String name;%09// Move Name%0A%09String type1;%09// Move Primary Type%0A%09String type2;%09// Move Secondary Type%0A%09int power;%09// Strength of Move%0A%09int accuracy;%09// Accuracy of Move%0A%09%0A%09// We pass in the file Pokemon-Moves.txt to read in all possible moves for the game.%0A%09public Move (String line)%7B%0A%09%09int nameEnd = line.indexOf(%22 %22);%0A%09%09name = line.substring(0,nameEnd);%0A%09%09String data = line.substring(nameEnd+1);%0A%09%09StringTokenizer tokenizer = new StringTokenizer(data);%0A%09%09type1=tokenizer.nextToken();%0A%09%09type2=tokenizer.nextToken();%0A%09%09power=Integer.parseInt(tokenizer.nextToken());%0A%09%09accuracy=Integer.parseInt(tokenizer.nextToken());%0A%09%7D%0A%09%0A%09/* Getter Functions! */%0A%09%0A%09public String getName()%7B%0A%09%09return name;%0A%09%7D%0A%09%0A%09public String getType()%7B%0A%09%09return type1;%0A%09%7D%0A%09%0A%09public String getCategory()%7B%0A%09%09return type2;%0A%09%7D%0A%09%0A%09public int getPower()%7B%0A%09%09return power;%0A%09%7D%0A%09%0A%09public int getAccuracy()%7B%0A%09%09return accuracy;%0A%09%7D%0A%7D%0A

Create Move.java