Protect the setter of Element.hidden

This commit is contained in:
Username404-59 2021-04-29 21:06:38 +02:00
parent 7cc0f17fc4
commit aa4d7e3743
Signed by: Username404-59
GPG Key ID: 7AB361FBB257A5D1
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ abstract class Element(
}
}
}
var hidden: Boolean = false
var hidden: Boolean = false; protected set
}
abstract class ColoredElement(x: Double, y: Double, width: Int, height: Int, val color: Int, val opacity: Float) : Element(x, y, width, height) {