Improve storage

This commit is contained in:
Christoph Hagen
2024-12-19 16:25:05 +01:00
parent 9c828ff80a
commit 41887a1401
30 changed files with 926 additions and 831 deletions

View File

@ -4,4 +4,11 @@ extension Int {
static func random() -> Int {
random(in: Int.min...Int.max)
}
mutating func increment(_ increment: Bool) {
guard increment else {
return
}
self += 1
}
}