- Timestamp:
- 09/02/13 15:11:53 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Robocode.TrunkInt/HeuristicLab.Problems.Robocode/3.3/External Evaluator/BattleRunner.java
r9899 r9926 40 40 public static List<Double> score = new ArrayList<Double>(); 41 41 42 //43 42 // This program requires at least 1 argument: the name of the robot. 44 43 // The second argument is the path to the robocode installation. If not give, c:\robocode is assumed. 45 44 // The third argument is optional. If it is true, robocode is shown, otherwise it is hidden. 46 // 47 45 // The fourth argument is the number of rounds. 46 public static void main(String[] args) { 48 47 String roboCodePath = "C:\\robocode"; 49 48 Boolean visible = false; … … 70 69 roboCodePath = args[1]; 71 70 visible = Boolean.valueOf(args[2]); 71 } 72 else if (args.length == 4) 73 { 74 robots[0] = args[0]; 75 player = args[0]; 76 roboCodePath = args[1]; 77 visible = Boolean.valueOf(args[2]); 78 numberOfRounds = Integer.valueOf(args[3]); 72 79 } 73 80 else
Note: See TracChangeset
for help on using the changeset viewer.