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

SlitsControlPanel API is too broad #290

Closed
pixelzoom opened this issue Dec 19, 2018 · 2 comments
Closed

SlitsControlPanel API is too broad #290

pixelzoom opened this issue Dec 19, 2018 · 2 comments

Comments

@pixelzoom
Copy link
Contributor

Related to code review #259:

  • Is there any unnecessary coupling? (e.g., by passing large objects to constructors, or exposing unnecessary properties/functions)

SlitsControlPanel does not need the entire model. It needs scenePropery, waterScene, soundScene, and lightScene.

@pixelzoom pixelzoom changed the title SlitsControlPanel is too broad SlitsControlPanel API is too broad Dec 19, 2018
@samreid samreid mentioned this issue Dec 19, 2018
@samreid
Copy link
Member

samreid commented Jan 1, 2019

Proposed fix committed, please review.

@pixelzoom
Copy link
Contributor Author

👍 Closing.

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