private final int robotIndex;
private final int teamIndex;
public RobotStatics(RobotSpecification robotSpecification, int duplicate, boolean isLeader, BattleRules rules, String teamName, List<String> teamMembers, int robotIndex, int teamIndex) {
IRobotItem robotItem = ((IRobotItem) HiddenAccess.getFileSpecification(robotSpecification));
this.robotIndex = robotIndex;
this.teamIndex = teamIndex;
shortClassName = robotItem.getShortClassName();
fullClassName = robotItem.getFullClassName();
if (duplicate >= 0) {
String countString = " (" + (duplicate + 1) + ')';
name = robotItem.getUniqueFullClassNameWithVersion() + countString;
shortName = robotItem.getUniqueShortClassNameWithVersion() + countString;
veryShortName = robotItem.getUniqueVeryShortClassNameWithVersion() + countString;
} else {
name = robotItem.getUniqueFullClassNameWithVersion();
shortName = robotItem.getUniqueShortClassNameWithVersion();
veryShortName = robotItem.getUniqueVeryShortClassNameWithVersion();
}
this.isJuniorRobot = robotItem.isJuniorRobot();
this.isAdvancedRobot = robotItem.isAdvancedRobot();
this.isTeamRobot = robotItem.isTeamRobot();
this.isDroid = robotItem.isDroid();
this.isSentryRobot = robotItem.isSentryRobot();
this.isInteractiveRobot = robotItem.isInteractiveRobot();
this.isPaintRobot = robotItem.isPaintRobot();
this.isTeamLeader = isLeader;
this.battleRules = rules;
if (teamMembers != null) {
List<String> list = new ArrayList<String>();