mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-02-14 17:14:41 +08:00
20 lines
490 B
JavaScript
20 lines
490 B
JavaScript
import IEntity from "../../js/entity/IEntity"
|
|
|
|
export default class SimpleEntity extends IEntity {
|
|
|
|
static attributes = {
|
|
someNumber: 567,
|
|
someString: "alpha",
|
|
someString2: "beta",
|
|
someBoolean: true,
|
|
someBoolean2: false,
|
|
someObjectString: new String("gamma"),
|
|
someArray: [400, 500, 600, 700, 800],
|
|
someSet: new Set([10, 20, 30, 40, 50, 60, 70]),
|
|
}
|
|
|
|
static {
|
|
this.cleanupAttributes(this.attributes)
|
|
}
|
|
}
|