Make ButtonImpl.kt a sealed class
This commit is contained in:
parent
e6891a9d4f
commit
84032f60eb
|
@ -13,7 +13,7 @@ import fr.username404.snowygui.gui.feature.ButtonInfo.Companion.Type
|
|||
import kotlin.reflect.full.findAnnotation
|
||||
import kotlin.reflect.jvm.isAccessible
|
||||
|
||||
abstract class ButtonImpl: ColoredElement(0.0, 0.0, 73, 8, opacity = 0.60F) {
|
||||
sealed class ButtonImpl: ColoredElement(0.0, 0.0, 73, 8, opacity = 0.60F) {
|
||||
companion object {
|
||||
var done: Boolean = false; private set
|
||||
fun initialize() {
|
||||
|
|
Loading…
Reference in New Issue