UNPKG

owl-bt

Version:

owl-bt is editor for Behavior trees. It has been inspired by Unreal engine behavior trees in a way, that it supports special node items like decorators and services. This makes trees smaller and much more readable.

22 lines (17 loc) 345 B
'use strict'; (function() { class TreeStore { constructor() { this.version = 1; } updateVersion() { if (this.version === Number.MAX_SAFE_INTEGER) { this.version = 1; } else { this.version++; } } } angular.module('mocks.TreeStore', []) .service('TreeStore', TreeStore); })();