Search in sources :

Example 1 with FinishBuilding

use of ecgberht.BehaviourTrees.BuildingLot.FinishBuilding in project Ecgberht by Jabbo16.

the class Ecgberht method initBuildingLotTree.

private void initBuildingLotTree() {
    CheckBuildingsLot chBL = new CheckBuildingsLot("Check Buildings Lot", gs);
    ChooseBlotWorker cBW = new ChooseBlotWorker("Choose Building Lot worker", gs);
    ChooseBuildingLot cBLot = new ChooseBuildingLot("Choose Building Lot building", gs);
    FinishBuilding fB = new FinishBuilding("Finish Building", gs);
    Sequence BLot = new Sequence("Building Lot", chBL, cBLot, cBW, fB);
    buildingLotTree = new BehavioralTree("Building Lot Tree");
    buildingLotTree.addChild(BLot);
}
Also used : CheckBuildingsLot(ecgberht.BehaviourTrees.BuildingLot.CheckBuildingsLot) FinishBuilding(ecgberht.BehaviourTrees.BuildingLot.FinishBuilding) ChooseBlotWorker(ecgberht.BehaviourTrees.BuildingLot.ChooseBlotWorker) Sequence(org.iaie.btree.task.composite.Sequence) BehavioralTree(org.iaie.btree.BehavioralTree) ChooseBuildingLot(ecgberht.BehaviourTrees.BuildingLot.ChooseBuildingLot)

Aggregations

CheckBuildingsLot (ecgberht.BehaviourTrees.BuildingLot.CheckBuildingsLot)1 ChooseBlotWorker (ecgberht.BehaviourTrees.BuildingLot.ChooseBlotWorker)1 ChooseBuildingLot (ecgberht.BehaviourTrees.BuildingLot.ChooseBuildingLot)1 FinishBuilding (ecgberht.BehaviourTrees.BuildingLot.FinishBuilding)1 BehavioralTree (org.iaie.btree.BehavioralTree)1 Sequence (org.iaie.btree.task.composite.Sequence)1