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

Will there be virtual functions or inheritance support ? #144

Open
jusforfun opened this issue Feb 21, 2018 · 2 comments
Open

Will there be virtual functions or inheritance support ? #144

jusforfun opened this issue Feb 21, 2018 · 2 comments

Comments

@jusforfun
Copy link

Hi minggo,

Want to check that will there be virtual or overloaded functions in the future?
Or inheritance support so that we will be able to inherit and add in additional functionalities;

E.g. Animation Manager (with Wrap Mode),
CreatorReader able to replace the path of the dependencies
(E.g. default path of search is Resource/creator/* to possible path like (AppData/myCocosGame/* ) )

@minggo
Copy link
Contributor

minggo commented Feb 23, 2018

About resource path, can not resolve it by virtual function because the path is determined when exporting by the plugin.

About other features, i think we should discuss it one by one.

@jusforfun
Copy link
Author

So about the features,
For the AnimationManager class, to add a overloaded function
for the playAnimationClip to pass in an additional argument which is the enum WrapMode so that i can have more control over how the animation is played.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants