diff --git a/common/src/main/kotlin/fr/username404/snowygui/gui/Element.kt b/common/src/main/kotlin/fr/username404/snowygui/gui/Element.kt index f656c41..5d04334 100644 --- a/common/src/main/kotlin/fr/username404/snowygui/gui/Element.kt +++ b/common/src/main/kotlin/fr/username404/snowygui/gui/Element.kt @@ -9,10 +9,10 @@ abstract class Element( var x: Int, var y: Int, val width: Int, val height: Int ): Renderable { - companion object { + companion object Rendering { @JvmStatic protected val tessellator: Tesselator = Tesselator.getInstance() @JvmStatic protected val buffer: BufferBuilder = tessellator.builder - const val BaseColor: Int = -0x1 + const val TransparentColor: Int = -0x1 } fun display(stack: PoseStack? = null) { if (!hidden) render(stack) } var hidden: Boolean = false