simulate() finished

This commit is contained in:
Artem Didytschuk 2020-12-06 19:55:47 +01:00
parent 44a34cb220
commit e838d57eb6
1 changed files with 2 additions and 1 deletions

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());
}
}