Racesim angefangen
This commit is contained in:
parent
fc66b82235
commit
44a34cb220
|
@ -0,0 +1,23 @@
|
|||
|
||||
|
||||
/**
|
||||
* Beschreiben Sie hier die Klasse Racesimulator.
|
||||
*
|
||||
* @author (Ihr Name)
|
||||
* @version (eine Versionsnummer oder ein Datum)
|
||||
*/
|
||||
import java.util.Random;
|
||||
|
||||
public class Racesimulator {
|
||||
|
||||
|
||||
public Racesimulator() {
|
||||
|
||||
}
|
||||
|
||||
public void simulate(Athlete pAthlete){
|
||||
Random rand =new Random();
|
||||
pAthlete.setStartTime(rand.);
|
||||
}
|
||||
|
||||
}
|
|
@ -1,14 +1,14 @@
|
|||
#BlueJ package file
|
||||
editor.fx.0.height=0
|
||||
editor.fx.0.width=0
|
||||
editor.fx.0.x=0
|
||||
editor.fx.0.y=0
|
||||
objectbench.height=92
|
||||
editor.fx.0.height=738
|
||||
editor.fx.0.width=816
|
||||
editor.fx.0.x=232
|
||||
editor.fx.0.y=82
|
||||
objectbench.height=87
|
||||
objectbench.width=760
|
||||
package.divider.horizontal=0.6
|
||||
package.divider.vertical=0.8023952095808383
|
||||
package.editor.height=395
|
||||
package.editor.width=649
|
||||
package.divider.vertical=0.812375249500998
|
||||
package.editor.height=400
|
||||
package.editor.width=636
|
||||
package.editor.x=140
|
||||
package.editor.y=80
|
||||
package.frame.height=600
|
||||
|
@ -24,16 +24,16 @@ readme.width=47
|
|||
readme.x=10
|
||||
readme.y=10
|
||||
target1.height=50
|
||||
target1.name=BinaryTree
|
||||
target1.name=List$ListNode
|
||||
target1.showInterface=false
|
||||
target1.type=ClassTarget
|
||||
target1.width=190
|
||||
target1.x=350
|
||||
target1.y=80
|
||||
target1.type=SubTargetClassRole
|
||||
target1.width=200
|
||||
target1.x=360
|
||||
target1.y=20
|
||||
target2.height=50
|
||||
target2.name=List
|
||||
target2.showInterface=false
|
||||
target2.type=ClassTarget
|
||||
target2.width=150
|
||||
target2.x=60
|
||||
target2.y=160
|
||||
target2.x=170
|
||||
target2.y=50
|
||||
|
|
Loading…
Reference in New Issue