mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-13 20:14:05 +09:00
in preparation of new demoworld creation for future version
This commit is contained in:
@@ -6,6 +6,7 @@ package net.torvald.terrarum.blockproperties
|
||||
object Block {
|
||||
|
||||
const val AIR = "basegame:0" // hard coded; this is the standard
|
||||
const val UPDATE = "basegame:1" // hard coded
|
||||
|
||||
const val STONE = "basegame:16"
|
||||
const val STONE_QUARRIED = "basegame:17"
|
||||
|
||||
@@ -22,7 +22,7 @@ class BlockProp {
|
||||
var shadeColB = 0f
|
||||
var shadeColA = 0f
|
||||
|
||||
lateinit var opacity: Cvec
|
||||
var opacity = Cvec()
|
||||
|
||||
fun getOpacity(channel: Int) = when (channel) {
|
||||
0 -> shadeColR
|
||||
|
||||
Reference in New Issue
Block a user