use of ecgberht.BehaviourTrees.Defense.CheckPerimeter in project Ecgberht by Jabbo16.
the class Ecgberht method initDefenseTree.
private void initDefenseTree() {
CheckPerimeter cP = new CheckPerimeter("Check Perimeter", gs);
ChooseDefensePosition cDP = new ChooseDefensePosition("Choose Defence Position", gs);
SendDefenders sD = new SendDefenders("Send Defenders", gs);
Sequence Defense = new Sequence("Defence", cP, cDP, sD);
defenseTree = new BehavioralTree("Defence Tree");
defenseTree.addChild(Defense);
}
Aggregations