mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-12 11:34:05 +09:00
new actor type "HistoricalFigure" that has date of birth and death
Former-commit-id: ec7ca90f29e0c56b3553e87b5a95fd023d9c55e1 Former-commit-id: 685958754f78542843913731880eb73f90e8e4c9
This commit is contained in:
@@ -7,7 +7,7 @@ import java.util.function.Consumer
|
||||
/**
|
||||
* Created by minjaesong on 16-02-15.
|
||||
*/
|
||||
class PairedMapLayer(width: Int, var height: Int) : Iterable<Byte> {
|
||||
class PairedMapLayer(width: Int, val height: Int) : Iterable<Byte> {
|
||||
|
||||
/**
|
||||
* 0b_xxxx_yyyy, x for lower index, y for higher index
|
||||
@@ -17,9 +17,9 @@ class PairedMapLayer(width: Int, var height: Int) : Iterable<Byte> {
|
||||
* 0110 1101 is interpreted as
|
||||
* 6 for tile 0, 13 for tile 1.
|
||||
*/
|
||||
internal var dataPair: Array<ByteArray>
|
||||
internal @Volatile var dataPair: Array<ByteArray>
|
||||
|
||||
var width: Int = 0
|
||||
val width: Int
|
||||
|
||||
init {
|
||||
this.width = width / 2
|
||||
|
||||
Reference in New Issue
Block a user