use of ecgberht.BehaviourTrees.Repair.ChooseRepairer in project Ecgberht by Jabbo16.
the class Ecgberht method initRepairTree.
private void initRepairTree() {
CheckBuildingFlames cBF = new CheckBuildingFlames("Check building in flames", gs);
ChooseRepairer cR = new ChooseRepairer("Choose Repairer", gs);
Repair R = new Repair("Repair Building", gs);
Sequence Repair = new Sequence("Repair", cBF, cR, R);
repairTree = new BehavioralTree("RepairTree");
repairTree.addChild(Repair);
}
Aggregations