Skip to content

Commit 826f340

Browse files
author
lihongyuan
committed
add read me
1 parent e8e9c29 commit 826f340

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
behavior3ts-async fork from behavior3ts, but support asyn/await natrually.
2+
3+
u can just do like:
4+
5+
var tree = new BehaviorTree();
6+
tree.load(JSON.parse(json), extMap);
7+
8+
and then just
9+
10+
const status = await tree.tick()
11+
12+
it will automatically resolve all promise, also u can implent your own action class which has async tick() method.
13+
114
# BEHAVIOR3JS
215

316
[![Build Status](https://travis-ci.org/behavior3/behavior3js.svg?branch=master)](https://travis-ci.org/behavior3/behavior3js)

0 commit comments

Comments
 (0)