Example #1
0
 @Override
 public void searchTasks(AIHelper helper) {
   if (treeFinder.addTasksForLargeTree(helper)) {
     return;
   }
   super.searchTasks(helper);
 }
Example #2
0
 @Override
 public void searchTasks(AIHelper helper) {
   final int max = pathFinder.getAreaSize();
   if (max <= 100000) {
     float toClearCount = pathFinder.getToClearCount(helper);
     progress = 100 - Math.round(100f * toClearCount / max) + "%";
     done = toClearCount == 0;
   }
   super.searchTasks(helper);
 }