API Documentation for:
Show:

Action

Defined in: Action:4
Module: b3

Action is the base class for all action nodes. Thus, if you want to create new custom action nodes, you need to inherit from this class. For example, take a look at the Runner action:

class Runner extends b3.Action {
  constructor(){
    super({name: 'Runner'});
  }
  tick(tick) {
    return b3.RUNNING;
  }
};

Item Index