mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-03-12 02:57:32 +08:00
Links wip (broken)
This commit is contained in:
@@ -16,6 +16,8 @@ export default class NodeElement extends ISelectableDraggableElement {
|
||||
super(entity, new NodeTemplate())
|
||||
/** @type {ObjectEntity} */
|
||||
this.entity
|
||||
/** @type {NodeTemplate} */
|
||||
this.template
|
||||
this.dragLinkObjects = []
|
||||
super.setLocation([this.entity.NodePosX, this.entity.NodePosY])
|
||||
}
|
||||
@@ -34,6 +36,10 @@ export default class NodeElement extends ISelectableDraggableElement {
|
||||
return this.entity.getName()
|
||||
}
|
||||
|
||||
getPinElements() {
|
||||
return this.template.getPinElements(this)
|
||||
}
|
||||
|
||||
/**
|
||||
* @returns {PinEntity[]}
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user