More const values

This commit is contained in:
DBotThePony 2025-03-23 09:42:14 +07:00
parent 5606096040
commit 8f15366011
Signed by: DBot
GPG Key ID: DCC23B5715498507

View File

@ -205,8 +205,6 @@ class Enforcer(type: EntityType<Enforcer>, level: Level) : Monster(type,level) {
}
private var chargeTime = 0
private val windupTime = 20
private val maxChargeTime = 40
private var chargeDir: Vec3? = null
private var cooldown = 0
private var isCharging = false
@ -324,6 +322,8 @@ class Enforcer(type: EntityType<Enforcer>, level: Level) : Monster(type,level) {
companion object {
private const val minCooldown = 35
private const val maxCooldown = 60
private const val windupTime = 20
private const val maxChargeTime = 40
}
}