previous |
start |
next
Pausing and Running the Animation
- Want to pause animation until button is clicked
- Need to coordinate UI thread, animation thread
- Easier to understand coordination with custom object
- Both threads query, manipulate gate
previous |
start |
next