change in getCurrentPlayerWinpoints

This commit is contained in:
schrom01 2021-12-03 10:36:53 +01:00
parent 442cce6761
commit 8cb13ce0a6
1 changed files with 7 additions and 1 deletions

View File

@ -407,10 +407,16 @@ public class SiedlerGame {
winPoints ++; winPoints ++;
} }
} }
//todo add points for longest road if(getLongestRoadFaction() == getCurrentPlayerFaction()){
winPoints = winPoints + 2;
}
return winPoints; return winPoints;
} }
private Faction getLongestRoadFaction() {
return null; //todo implement
}
/** /**
* Places the thief on the specified field and steals a random resource card (if * Places the thief on the specified field and steals a random resource card (if