Is it a special design decision, that some `View` ...
# korge
t
Is it a special design decision, that some
View
-classes are not
open
anymore? For exampe in my game, I extend
Image
to add some meta data to it. But this isn't possible in Korge
2.0.5.1
anymore. It's also not consistence because these views are open: Circle, Mesh, Sprite, Text,
d
I think there is a
BaseImage
class that is open https://github.com/korlibs/korge/blob/master/korge/src/commonMain/kotlin/com/soywiz/korge/view/Image.kt#L22 The
Image
now is doing some extra stuff to support lazy resource attaching IIRC so for inheritance you should consider using
BaseImage
instead