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 (18 loc) 417 B
'use strict'; (function() { class RedoAction { constructor(ActionExecutor, UndoRedoManager) { this._ActionExecutor = ActionExecutor; this._undoRedoManager = UndoRedoManager; } exec() { this._ActionExecutor.exec({ exec: () => { this._undoRedoManager.redo(); }, }); } } angular.module('editorApp') .service('RedoAction', RedoAction); })();