Make ButtonImpl.kt a sealed class

This commit is contained in:
Username404 2021-05-17 13:36:29 +02:00
parent e6891a9d4f
commit 84032f60eb
Signed by: Username404-59
GPG Key ID: 7AB361FBB257A5D1
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ import fr.username404.snowygui.gui.feature.ButtonInfo.Companion.Type
import kotlin.reflect.full.findAnnotation import kotlin.reflect.full.findAnnotation
import kotlin.reflect.jvm.isAccessible 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 { companion object {
var done: Boolean = false; private set var done: Boolean = false; private set
fun initialize() { fun initialize() {