This project is currently very unstable. even master branch's history may change
BHive
Javascript implementation of BehaviorTree
npm install bhivejs --saveconst {AsyncTask, Sequence, Priority, Repeater} = require('bhivejs');
const SearchEnemy = new AsyncTask({
title: 'SearchEnemy',
run: async function(){
// Searching Enemy
}
})
const SearchEnemy = new AsyncTask({
title: 'SearchEnemy',
run: async function(){
// Searching Enemy
}
})TBD
You can build an API document and read it locally.
npm install
npm run docTBD
MIT License,
See LICENSE file for details