portalPoint to the world

This commit is contained in:
minjaesong
2023-09-05 01:40:20 +09:00
parent c4deba14da
commit 8fa9ddeec1
7 changed files with 28 additions and 10 deletions

View File

@@ -87,6 +87,14 @@ open class GameWorld(
/** Tilewise spawn point */
var spawnY: Int = 0
var spawnPoint: Point2i
get() = Point2i(spawnX, spawnY)
set(value) {
spawnX = value.x
spawnY = value.y
}
var portalPoint: Point2i? = null
val wallDamages = HashArray<Float>()
val terrainDamages = HashArray<Float>()
val fluidTypes = HashedFluidType()