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

Support component inheritance. #20

Open
Viech opened this issue Apr 9, 2015 · 2 comments
Open

Support component inheritance. #20

Viech opened this issue Apr 9, 2015 · 2 comments
Assignees

Comments

@Viech
Copy link
Member

Viech commented Apr 9, 2015

No description provided.

@Kangz Kangz self-assigned this Apr 9, 2015
@Viech
Copy link
Member Author

Viech commented May 5, 2015

So far I don't see any use cases for this, so I'm setting it to low priority.

@Viech Viech added the P-Low label May 5, 2015
@Viech
Copy link
Member Author

Viech commented Jul 1, 2016

I found a use case: MGTurretComponent and RocketpodComponent share a lot of code that I have put in a TurretComponent. Currently I'm working around using inheritance by calling protected methods of the shared component directly and providing attributes that should differ between Rocketpod and MGTurret but need to be known to TurretComponent (such as the attack range) via Set… methods.

@Viech Viech removed the P-Low label Jul 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants