Closed chenyongxin closed 9 years ago
I would make some changes to your new classes.
First, CircleArrangement
should extends CircleArray
. Then CircleArrangement
will be very short (just an initialization part) and it will be easy to make other extensions later if needed.
Second, if savedata2 is only for CircleArray
, then I think it should be part of that class, not its own class. In general, a utility class for something like saving data should apply to the broadest possible set of classes so it can be as reusable as possible.
Have you made those changes?
New pull-request (1) Revert LilyPad.pde to it's original state. (2) Make the example code more concise.