Files
ueblueprint/js/entity/ObjectReferenceEntity.js
barsdeveloper a34be2351e Grammar fixed
2021-10-22 18:44:44 +02:00

21 lines
412 B
JavaScript

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