Changeset 10045 for branches/Robocode.TrunkInt
- Timestamp:
- 10/17/13 10:14:09 (11 years ago)
- Location:
- branches/Robocode.TrunkInt/HeuristicLab.Problems.Robocode/3.3
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Robocode.TrunkInt/HeuristicLab.Problems.Robocode/3.3/BattleRunner.java
r10044 r10045 99 99 public void onBattleCompleted(BattleCompletedEvent e) { 100 100 double robotScore = -1.0; 101 double opponentScore = - 101 double opponentScore = -1.0; 102 102 103 103 for (robocode.BattleResults result : e.getSortedResults()) { 104 if (result.getTeamLeaderName(). equals(BattleRunner.player))104 if (result.getTeamLeaderName().contains(BattleRunner.player)) 105 105 robotScore = result.getScore(); 106 106 else
Note: See TracChangeset
for help on using the changeset viewer.