save/load fluid layer

This commit is contained in:
minjaesong
2024-08-12 23:18:04 +09:00
parent fdbfad9633
commit 81c75a762b
4 changed files with 17 additions and 13 deletions

View File

@@ -324,6 +324,7 @@ open class GameWorld(
TERRAIN -> layerTerrain
WALL -> layerWall
ORES -> layerOres
FLUID -> layerFluids
else -> null//throw IllegalArgumentException("Unknown layer index: $index")
}
@@ -860,6 +861,7 @@ open class GameWorld(
@Transient const val TERRAIN = 0
@Transient const val WALL = 1
@Transient const val ORES = 2
@Transient const val FLUID = 3
@Transient val TILES_SUPPORTED = ReferencingRanges.TILES.last + 1
//@Transient val SIZEOF: Byte = 2