mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-18 22:44:04 +09:00
no idea
Former-commit-id: 9738d12e5a468b71142745fbf0ce02fcf1ca623c Former-commit-id: a26b80a1990996d9c05b0909128c210e0f897312
This commit is contained in:
@@ -50,7 +50,7 @@ class MapLayer(var width: Int, var height: Int) : Iterable<Byte> {
|
||||
private fun uint8ToInt32(x: Byte): Int = java.lang.Byte.toUnsignedInt(x)
|
||||
|
||||
companion object {
|
||||
@Transient val RANGE = 256
|
||||
@Transient const val RANGE = 256
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -81,6 +81,6 @@ class PairedMapLayer(width: Int, var height: Int) : Iterable<Byte> {
|
||||
|
||||
companion object {
|
||||
|
||||
@Transient val RANGE = 16
|
||||
@Transient const val RANGE = 16
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user