Skip to content

Scene2D builder asks for explicit reciever #301

Answered by Divelix
Divelix asked this question in Q&A
Discussion options

You must be logged in to vote

Oh, I just checked again, actually my code was:

@Scene2dDsl
class ModIcon(val mod: Mod, ...): Group(), KGroup {...}
// I implemented KGroup to use it as my custom widget
modIcon(mod) {...}

and I did not pay attention to that when wrote the code in the question. It seems like I broke smth inside KGroup by that code, because ModIcon works fine now without inheritance from KGroup.

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by czyzby
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #301 on December 11, 2020 20:45.