Files
ueblueprint/js/entity/ObjectReferenceEntity.js
2021-10-22 00:01:24 +02:00

17 lines
330 B
JavaScript

import Entity from "./Entity"
export default class ObjectReferenceEntity extends Entity {
static attributes = {
type: "None",
path: ""
}
getAttributes() {
return ObjectReferenceEntity.attributes
}
toString() {
return this.type + (this.path ? `'"${this.path}"'` : "")
}
}