data class OnRender(val fqName:String = "MainGame"...
# announcements
s
data class OnRender(val fqName:String = "MainGame") { val batch:Any = OnInit::batch } data class OnInit(val fqName:String = "MainGame") { val img: Texture ?= null; var batch: SpriteBatch ?= null; } compiler seems to not like this but the ide is not rasiing an error