mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-02-15 17:54:52 +08:00
Grammar refactoring WIP
This commit is contained in:
17
js/entity/ObjectReferenceEntity.js
Normal file
17
js/entity/ObjectReferenceEntity.js
Normal file
@@ -0,0 +1,17 @@
|
||||
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}"'` : "")
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user