예제 #1
0
 @Override
 public void scoreFarm(FarmScoreContext ctx, Player p) {
   int points = ctx.getPoints(p);
   game.scoreFeature(points, ctx, p);
 }
 protected double getFarmPoints(Farm farm, Player p, FarmScoreContext ctx) {
   if (isMe(p)) {
     openCount[OPEN_COUNT_FARM]++;
   }
   return ctx.getPoints(p);
 }