@Override public void searchTasks(AIHelper helper) { if (treeFinder.addTasksForLargeTree(helper)) { return; } super.searchTasks(helper); }
@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); }