Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Node components #65

Closed
LeStegii opened this issue Mar 5, 2024 · 0 comments · Fixed by #68
Closed

Add support for Node components #65

LeStegii opened this issue Mar 5, 2024 · 0 comments · Fixed by #68
Assignees
Labels
enhancement New feature or request rework Refactoring or reworking parts of existing code

Comments

@LeStegii
Copy link
Collaborator

LeStegii commented Mar 5, 2024

Is your feature request related to a problem? Please describe.
Currently, Components have to extend from Parent which makes it impossible to use classes like ImageView or Shape as the main component class as they don't extend from Parent.

Describe the solution you'd like
Lowering the requirement for components to extend Node instead of Parent would resolve this problem.
This would require some tweaks to show als the Scene only takes Parents as a parameter.

Describe alternatives you've considered
The classes not extending from parent could be wrapped in a parent, but this requires boilerplate.

@LeStegii LeStegii self-assigned this Mar 5, 2024
@LeStegii LeStegii added enhancement New feature or request rework Refactoring or reworking parts of existing code labels Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request rework Refactoring or reworking parts of existing code
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant