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.
13 lines (12 loc) • 442 B
JavaScript
;
angular.module('editorApp')
.directive('boolPropertyEditor', function() {
return {
template: '<div class="checkbox"><label><input type="checkbox" ng-model="property.value" ng-model-options="{ getterSetter: true, allowInvalid:true }"></input>{{property.name()}}</label><property-reset property="property"/></div>',
restrict: 'EA',
replace: true,
scope: {
property: '=',
}
};
});