behavior3delphi is a Behavior3 client library for Delphi (Behavior Trees for Delphi) based on behavior3js.
This library includes the following core structures
- BehaviorTree: the structure that represents a Behavior Tree
- Blackboard: represents a "memory" in an agent and is required to to run a
BehaviorTree
- Composite: base class for all composite nodes
- Decorator: base class for all decorator nodes
- Action: base class for all action nodes
- Condition: base class for all condition nodes
- Tick: used as container and tracking object through the tree during the tick signal
- BaseNode: the base class that provide all common node features
Composite Nodes:
- Sequence
- Priority
- MemSequence
- MemPriority
Decorators:
- Inverter
- Limiter
- MaxTime
- Repeater
- RepeaterUntilFailure
- RepeaterUntilSuccess
Actions:
- Succeeder
- Failer
- Error
- Runner
- Wait
Either include all units (incl. those found in the Actions/Composites/Core/Decorators
directories) or install and compile the Behavior3Delphi.dpk
package (in the \Package
folder) and set Link with runtime packages to true in the project options (Packages -> Runtime Packages) of your project.
Copyright 2016 by Dennis D. Spreen [email protected]. Code released under the MIT license.