use of ecgberht.BehaviourTrees.Recollection.CollectGas in project Ecgberht by Jabbo16.
the class Ecgberht method initCollectTree.
private void initCollectTree() {
CollectGas cg = new CollectGas("Collect Gas", gs);
CollectMineral cm = new CollectMineral("Collect Mineral", gs);
FreeWorker fw = new FreeWorker("No Union", gs);
Selector collectResources = new Selector("Collect Melted Cash", cg, cm);
Sequence collect = new Sequence("Collect", fw, collectResources);
collectTree = new BehavioralTree("Recollection Tree");
collectTree.addChild(collect);
}
Aggregations