Example #1
0
 private float getBlockCost() {
   if (blockCost == -1) {
     blockCost = 0;
     for (BlockExaminer examiner : examiners) {
       blockCost += examiner.getCost(blockSource, this);
     }
   }
   return blockCost;
 }