modulepackage
0.0.0-20201231054638-1213768897c7
Repository: https://github.com/billyplus/behavior.git
Documentation: pkg.go.dev
# README
behavior
Full feature behavior tree implemented with golang, with support for custom nodes.
The author is not native english speaker, thus you are welcome to add english comments and wiki.
Usage
Custom Node
(action
|composite
|decorator
|condition
) should be registered before use. Check loader/loader.go
for example.
TODO:
- [x]sample
- [x]doc
editor recommended:
# Packages
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Functions
NewBehaviorManager 加载behavior3格式的project配置.
Register 注册一个新的node类型
示例: Register("ANode", &ANode{}).
No description provided by the author
# Constants
node category.
node category.
node category.
node category.
node status.
node status.
返回的节点状态.
返回的节点状态.
返回的节点状态.
返回的节点状态.
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Type aliases
BehaviorStatus 返回的状态定义.
NodeCategory node category.
NodeStatus status for node.