Behavior Tree for Javascript
npm install bhivebash
npm install bhivejs --save
`Usage - conventional method
`javascript
const {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
}
})
`Usage - definitional method
TBDBuild Document
You can build an API document and read it locally.
`bash
npm install
npm run doc
`Specs
TBDLicense
MIT License,
See LICENSE` file for details