API Documentation for:
Show:

Action

Defined in: Action:5
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:

var Runner = b3.Class(b3.Action, {
  name: 'Runner',

  tick: function(tick) {
    return b3.RUNNING;
  }
});

Item Index

Methods

Properties

Methods

initialize

()

Defined in initialize:32

Initialization method.

Properties

category

String

Defined in category:25

Node category. Default to ACTION.