tobsef
01/28/2021, 8:17 PMView
-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,Deactivated User
01/29/2021, 12:40 PMBaseImage
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