mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-02-13 16:44:49 +08:00
26 lines
405 B
JavaScript
26 lines
405 B
JavaScript
import IEntity from "./IEntity.js"
|
|
|
|
export default class SymbolEntity extends IEntity {
|
|
|
|
static attributes = {
|
|
value: "",
|
|
}
|
|
|
|
static {
|
|
this.cleanupAttributes(this.attributes)
|
|
}
|
|
|
|
constructor(values) {
|
|
super(values)
|
|
/** @type {String} */ this.value
|
|
}
|
|
|
|
valueOf() {
|
|
return this.value
|
|
}
|
|
|
|
toString() {
|
|
return this.value
|
|
}
|
|
}
|