/* get players of opponent team */ public void opponentTeam(int[] opponentPlayers) { // If we got rid of this, we could keep track of internal games as they happen if (currentCoach == internalCoach) return; Player[] opposingRoster = rosters.get(opponentID); for (int i = 0; i < lineupSize; i++) opposingTeam[i] = opposingRoster[opponentPlayers[i] - 1]; currentCoach.setOpposing(opposingTeam); }