public DeepTeam(Team team) { super(team); party = new ArrayList<Pokemon>(); activePokemon = team.getActivePokemon(); List<Pokemon> temp = team.getParty(); for (int i = 0; i < temp.size(); i++) { party.add(temp.get(i)); } hasStealthRocks = team.hasStealthRocks(); spikesCount = team.getSpikesCount(); toxicSpikesCount = team.getToxicSpikesCount(); teamSize = team.teamSize(); choice = team.getChoice(); teamId = team.getTeamId(); }