ColorWall: Difference between revisions

imported>Jesstess
No edit summary
Line 79:
</pre>
 
<code>effects.py</code> exports andan <code>Effects</code> list at the bottom of the file. <code>run.py</code> goes through every effect in that list, creates a new instance of the effect, and invokes its <code>run</code> method.
 
<b>Check your understanding</b>: what would happen if you added an effect to the <code>Effects</code> list that didn't implement a <code>run</code> method? (Try it!)
Line 94:
</li>
</ul>
 
 
=== 3. Examine the nested <code>for</code> loop in <code>SolidColorTest</code> ===
Anonymous user