jhj
This commit is contained in:
commit
b82738b505
|
|
@ -9,16 +9,16 @@ public class Team {
|
||||||
Torwart torwart;
|
Torwart torwart;
|
||||||
int siege;
|
int siege;
|
||||||
|
|
||||||
<<<<<<< HEAD
|
|
||||||
public Team(){
|
public Team(){
|
||||||
|
|
||||||
=======
|
|
||||||
public boolean isInTeam(Person p){
|
public boolean isInTeam(Person p){
|
||||||
for(Person pp:spieler){
|
for(Person pp:spieler){
|
||||||
if(p.equals(pp)) return true;
|
if(p.equals(pp)) return true;
|
||||||
}
|
}
|
||||||
if(torwart.equals(p)) return true;
|
if(torwart.equals(p)) return true;
|
||||||
return false;
|
return false;
|
||||||
>>>>>>> d6acf05b72f53607f222d077c1491dd1bb71add5
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue