Update Spiel.java
This commit is contained in:
parent
3cc0906d8f
commit
a0a3604f21
|
|
@ -23,6 +23,14 @@ public class Spiel {
|
|||
this.schiri = s;
|
||||
ballBesitz = ((int) Math.random()) == 0 ? true : false;
|
||||
spielzeit = 0;
|
||||
heimteam.setPositions(true);
|
||||
auswärtsteam.setPositions(false);
|
||||
b = new Ball();
|
||||
if(ballBesitz){
|
||||
b.s = heimteam.spieler[9];
|
||||
}else{
|
||||
b.s = auswärtsteam.spieler[9];
|
||||
}
|
||||
}
|
||||
|
||||
public void tick() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue