package utils; import java.io.File; import java.util.ArrayList; import java.util.List; import structures.basic.Card; /** * This is a utility class that provides methods for loading the decks for each * player, as the deck ordering is fixed. * @author Richard * */ public class OrderedCardLoader { public static String cardsDIR = "conf/gameconfs/cards/"; /** * Returns all of the cards in the human player's deck in order * @return */ public static List getPlayer1Cards(int copies) { List cardsInDeck = new ArrayList(20); int cardID = 1; for (int i =0; i getPlayer2Cards(int copies) { List cardsInDeck = new ArrayList(20); int cardID = 1; for (int i =0; i