mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-02-10 21:34:42 +08:00
14 lines
422 B
JavaScript
14 lines
422 B
JavaScript
import IEntity from "../../js/entity/IEntity.js"
|
|
import NumberEntity from "../../js/entity/NumberEntity.js"
|
|
|
|
export default class Entity1 extends IEntity {
|
|
|
|
static attributeSeparator = ", "
|
|
static wrap = (entity, v) => `Entity1(${v})`
|
|
static attributes = {
|
|
...super.attributes,
|
|
a: NumberEntity.withDefault(type => new type(8)),
|
|
b: NumberEntity.withDefault(type => new type(9)),
|
|
}
|
|
}
|