mirror of
https://gitee.com/sli97/behavior-eden-coco-plugin.git
synced 2024-12-26 03:39:12 +00:00
31 lines
703 B
JavaScript
31 lines
703 B
JavaScript
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.ParentNode = void 0;
|
|
const Node_1 = require("./Node");
|
|
class ParentNode extends Node_1.Node {
|
|
get index() {
|
|
return this._index;
|
|
}
|
|
set index(data) {
|
|
this._index = data;
|
|
}
|
|
constructor(children) {
|
|
super();
|
|
this.children = [];
|
|
this._index = 0;
|
|
this.children = children;
|
|
}
|
|
setChildren(children) {
|
|
this.children = children;
|
|
}
|
|
onConditionalAbort(childIndex) { }
|
|
decorate(status) {
|
|
return status;
|
|
}
|
|
canRunParallelChildren() {
|
|
return false;
|
|
}
|
|
onChildStarted() { }
|
|
}
|
|
exports.ParentNode = ParentNode;
|