bhive

0.0.7 • Public • Published

PRE-Released

This project is currently very unstable. even master branch's history may change

BHive

Javascript implementation of BehaviorTree

How to Use

Installation

npm install bhivejs --save

Usage - conventional method

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

TBD

Build Document

You can build an API document and read it locally.

npm install
npm run doc

Specs

TBD

License

MIT License,
See LICENSE file for details

Package Sidebar

Install

npm i bhive

Weekly Downloads

40

Version

0.0.7

License

MIT

Unpacked Size

1.75 MB

Total Files

91

Last publish

Collaborators

  • noizbuster