Skip to content

refactored the sketch.js file #28

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

Merged
merged 2 commits into from
Feb 23, 2019
Merged

Conversation

MkLahane
Copy link
Contributor

Refactored the sketch.js file so as to support encapsulation for the particle class handling the collision detection algorithm in its class only, as the main program remains unaware of the logic of collision detection for the particle and can just query it with different approaches making the code more reusable.

MkLahane and others added 2 commits April 24, 2018 12:38
Refactored the main program so as to support encapsulation for the particle class handling the collision detection algorithm  in its class only, as the main program remains unaware of the logic of collision detection for the particle and can just query it with different approaches making the code more reusable.
@shiffman shiffman merged commit 3192c62 into CodingTrain:master Feb 23, 2019
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

Successfully merging this pull request may close these issues.

2 participants