Merge branch 'master' of gitlab.com:joachimschmidt557/fop-projekt
This commit is contained in:
commit
b5abffade2
1 changed files with 7 additions and 2 deletions
|
|
@ -45,7 +45,7 @@ public class PopulationGoal extends Goal {
|
||||||
return null;
|
return null;
|
||||||
|
|
||||||
|
|
||||||
// Ansonsten: Bevölkerung zählen
|
// Ansonsten: Bevölkerung zählen
|
||||||
|
|
||||||
int numberOfHighPopulationCastles = 0;
|
int numberOfHighPopulationCastles = 0;
|
||||||
|
|
||||||
|
|
@ -89,6 +89,11 @@ public class PopulationGoal extends Goal {
|
||||||
return Collections.max(highPopulationPlayers, comp);
|
return Collections.max(highPopulationPlayers, comp);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Ansonsten... gewinnt noch kein spieler.
|
||||||
|
return null;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean hasLost(Player player) {
|
public boolean hasLost(Player player) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue