| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | 1x 1x 1x 14x 14x 13x 1x | import { IOptions } from "../interfaces/IOptions";
import { NodesGroup } from './NodesGroup';
import { SelfDefendingUnicodeNode } from "../custom-nodes/self-defending-nodes/SelfDefendingUnicodeNode";
export class SelfDefendingNodesGroup extends NodesGroup {
/**
* @param options
*/
constructor (options: IOptions) {
super(options);
if (!this.options.selfDefending) {
return;
}
this.nodes.set(
'selfDefendingUnicodeNode',
new SelfDefendingUnicodeNode(this.options)
);
}
}
|