Link icon fixing, name refactoring

This commit is contained in:
barsdeveloper
2022-11-21 11:45:43 +01:00
parent 401ce75fdc
commit a7468f4cf0
37 changed files with 239 additions and 151 deletions

View File

@@ -7,10 +7,9 @@ export default class RealUnitEntity extends IEntity {
value: 0,
}
/** @param {Object | Number | String} options */
constructor(options = 0) {
super(options)
/** @type {Number} */
/** @param {Object | Number | String} values */
constructor(values = 0) {
super(values)
this.value = Utility.clamp(this.value, 0, 1)
}
@@ -21,4 +20,4 @@ export default class RealUnitEntity extends IEntity {
toString() {
return this.value.toFixed(6)
}
}
}