Example #1
0
 private int sumPoints(Player p) {
   int points = 0;
   for (Stich r : this.stiche) {
     if (r.getWinner() == p) points += r.getPoints();
   }
   return points;
 }