public VillagerMoveTo(BaseBlackboard bb, Villager villager, List <Vector3> CustomPath = null, float distanceTo = 0.3f) : base(bb) { vBB = (VillagerBB)bb; villagerRef = villager; customPath = CustomPath; distanceToTarget = distanceTo; }
public HouseRangeDecorator(BtNode wrappedNode, BaseBlackboard bb, Villager villager, bool withinRange) : base( wrappedNode, bb) { WithinRange = withinRange; vBB = (VillagerBB)bb; villagerRef = villager; }
public DelayNode(BaseBlackboard bb, float delayTime, Villager villager) : base(bb) { villagerRef = villager; Delay = delayTime; _regulator = new Timer(Delay * 1000.0f); // in milliseconds, so multiply by 1000 _regulator.Elapsed += OnTimedEvent; _regulator.Enabled = true; _regulator.Stop(); }
public DecoratorNode(BtNode wrappedNode, BaseBlackboard bb) : base(bb) { this.WrappedNode = wrappedNode; }
public Sequence(BaseBlackboard bb) : base(bb) { }
public EnterHome(BaseBlackboard bb, Villager villager) : base(bb) { vBB = (VillagerBB)bb; villagerRef = villager; }
public FindTreeDecorator(BtNode wrappedNode, BaseBlackboard bb) : base(wrappedNode, bb) { vBB = (VillagerBB)bb; }
public CompositeNode(BaseBlackboard bb) : base(bb) { Children = new List <BtNode>(); }
public BtNode(BaseBlackboard bb) { this.Bb = bb; }
public GetPathToHouseForRepair(BaseBlackboard bb, Villager villager) : base(bb) { vBB = (VillagerBB)bb; villagerRef = villager; }
public ReplenishHealthAndStamina(BaseBlackboard bb, Villager villager) : base(bb) { villagerRef = villager; }
public GetMovePath(BaseBlackboard bb, Vector3 _targetLocation, Villager inVillagerRef) : base(bb) { villagerRef = inVillagerRef; vBB = (VillagerBB)bb; targetPosition = _targetLocation; }
public GetPathToRandomNearbyLocation(BaseBlackboard bb, Villager villager) : base(bb) { vBB = (VillagerBB)bb; villagerRef = villager; }
public GetDirectPathToTree(BaseBlackboard bb, Villager Villager) : base(bb) { villagerRef = Villager; vBB = (VillagerBB)bb; }
public GetPathToNearestTree(BaseBlackboard bb, Villager villager) : base(bb) { vBB = (VillagerBB)bb; villagerRef = villager; }
public InverterDecorator(BtNode wrappedNode, BaseBlackboard bb) : base(wrappedNode, bb) { }
public ConditionalDecorator(BtNode wrappedNode, BaseBlackboard bb) : base(wrappedNode, bb) { }
public GetHouseOnLowestHealth(BaseBlackboard bb) : base(bb) { vBB = (VillagerBB)bb; }
public SlapWoodOnHouse(BaseBlackboard bb, Villager villager) : base(bb) { vBB = (VillagerBB)bb; villagerRef = villager; }
public CanRepairHomeDecorator(BtNode wrappedNode, BaseBlackboard bb, Villager villager) : base(wrappedNode, bb) { vBB = (VillagerBB)bb; villagerRef = villager; }
public Selector(BaseBlackboard bb) : base(bb) { }
public ChopTree(BaseBlackboard bb, Villager villager) : base(bb) { vBB = (VillagerBB)bb; villagerRef = villager; }