buildingmaker penmenu; resolving mouse click clash between world and UIs

This commit is contained in:
minjaesong
2019-02-16 17:11:36 +09:00
parent e06e9ef733
commit a3ef1b435d
14 changed files with 354 additions and 242 deletions

View File

@@ -18,12 +18,12 @@ object BlockCodex {
private var blockProps: Array<BlockProp>
const val TILE_UNIQUE_MAX = MapLayer.RANGE * PairedMapLayer.RANGE
const val MAX_TERRAIN_TILES = MapLayer.RANGE * PairedMapLayer.RANGE
private val nullProp = BlockProp()
init {
blockProps = Array<BlockProp>(TILE_UNIQUE_MAX * 2, { BlockProp() })
blockProps = Array<BlockProp>(MAX_TERRAIN_TILES * 2, { BlockProp() })
}
/**