simulate() finished

This commit is contained in:
2020-12-06 19:55:47 +01:00
parent 44a34cb220
commit e838d57eb6

View File

@@ -17,7 +17,8 @@ public class Racesimulator {
public void simulate(Athlete pAthlete){
Random rand =new Random();
pAthlete.setStartTime(rand.);
pAthlete.setStartTime(rand.nextLong());
pAthlete.setEndTime(pAthlete.getStartTime()+rand.nextLong());
}
}