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

Single component update #3

Open
stephenrichard opened this issue Mar 27, 2017 · 0 comments
Open

Single component update #3

stephenrichard opened this issue Mar 27, 2017 · 0 comments

Comments

@stephenrichard
Copy link

Hi,

I use Rocket for a project and I have an question about the ticker in a specific component.
I see in your main.es6 that you add the component instance you want to the main update function :
/*** Drawing on requestAnimationFrame */ update() { this._router.update(); this._background.update(); }

My question is: Can I add an update function in a component that doesn't imply to create a new Instance in Main.es6 ?

Thanks in advance 🙏

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

1 participant