simulate() finished
This commit is contained in:
parent
44a34cb220
commit
e838d57eb6
|
@ -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());
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue