Fixing various bugs in the grammar

This commit is contained in:
barsdeveloper
2023-03-28 14:32:16 +02:00
parent 3dcbfb6ff0
commit 53a99a426e
24 changed files with 302 additions and 437 deletions

View File

@@ -3,7 +3,7 @@ import Utility from "../Utility.js"
export default class NaturalNumberEntity extends IntegerEntity {
constructor(values) {
constructor(values = 0) {
super(values)
this.value = Math.round(Utility.clamp(this.value, 0))
}