mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-05-06 02:37:30 +08:00
Type initialization using objects
This commit is contained in:
@@ -7,6 +7,10 @@ export default class RealUnitEntity extends IEntity {
|
||||
value: 0,
|
||||
}
|
||||
|
||||
static {
|
||||
this.cleanupAttributes(this.attributes)
|
||||
}
|
||||
|
||||
/** @param {Object | Number | String} values */
|
||||
constructor(values = 0) {
|
||||
super(values)
|
||||
|
||||
Reference in New Issue
Block a user