mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-02-16 10:54:42 +08:00
Added template concept
This commit is contained in:
@@ -3,8 +3,8 @@ import GraphEntity from "./GraphEntity"
|
||||
|
||||
export default class SelectableDraggable extends GraphEntity {
|
||||
|
||||
constructor() {
|
||||
super()
|
||||
constructor(template) {
|
||||
super(template)
|
||||
this.dragObject = null
|
||||
this.location = [0, 0]
|
||||
this.selected = false
|
||||
|
||||
Reference in New Issue
Block a user