change in getCurrentPlayerWinpoints

This commit is contained in:
schrom01
2021-12-03 10:36:53 +01:00
parent 442cce6761
commit 8cb13ce0a6
+7 -1
View File
@@ -407,10 +407,16 @@ public class SiedlerGame {
winPoints ++;
}
}
//todo add points for longest road
if(getLongestRoadFaction() == getCurrentPlayerFaction()){
winPoints = winPoints + 2;
}
return winPoints;
}
private Faction getLongestRoadFaction() {
return null; //todo implement
}
/**
* Places the thief on the specified field and steals a random resource card (if