Created
March 19, 2014 13:45
-
-
Save ybakos/9641952 to your computer and use it in GitHub Desktop.
In-class refactoring goal for March 19
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// YOUR NAME | |
// Refactoring global variables and functions into appropriate classes. | |
// And an exploration of composition. | |
Car hooptie; | |
Engine hemi; | |
void setup() { | |
size(500, 500); | |
// ??? | |
} | |
void draw() { | |
hooptie.draw(); | |
hemi.draw(); | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment