More const values
This commit is contained in:
parent
5606096040
commit
8f15366011
@ -205,8 +205,6 @@ class Enforcer(type: EntityType<Enforcer>, level: Level) : Monster(type,level) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private var chargeTime = 0
|
private var chargeTime = 0
|
||||||
private val windupTime = 20
|
|
||||||
private val maxChargeTime = 40
|
|
||||||
private var chargeDir: Vec3? = null
|
private var chargeDir: Vec3? = null
|
||||||
private var cooldown = 0
|
private var cooldown = 0
|
||||||
private var isCharging = false
|
private var isCharging = false
|
||||||
@ -324,6 +322,8 @@ class Enforcer(type: EntityType<Enforcer>, level: Level) : Monster(type,level) {
|
|||||||
companion object {
|
companion object {
|
||||||
private const val minCooldown = 35
|
private const val minCooldown = 35
|
||||||
private const val maxCooldown = 60
|
private const val maxCooldown = 60
|
||||||
|
private const val windupTime = 20
|
||||||
|
private const val maxChargeTime = 40
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user