diff --git a/src/ch/zhaw/catan/SiedlerGame.java b/src/ch/zhaw/catan/SiedlerGame.java index af4d862..af78ce0 100644 --- a/src/ch/zhaw/catan/SiedlerGame.java +++ b/src/ch/zhaw/catan/SiedlerGame.java @@ -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