mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-02-14 17:14:41 +08:00
20 lines
338 B
JavaScript
20 lines
338 B
JavaScript
import IEntity from "../../js/entity/IEntity.js"
|
|
|
|
export default class Entity1 extends IEntity {
|
|
|
|
static attributes = {
|
|
a: {
|
|
type: Number,
|
|
},
|
|
b: {
|
|
type: Number,
|
|
},
|
|
}
|
|
|
|
constructor(values = {}) {
|
|
values.a ??= 8
|
|
values.b ??= 9
|
|
super(values)
|
|
}
|
|
}
|