Extend the Interfaces
example from class 19 by writing a new class that implements the Animation
interface. Your new class must, naturally, implement the update()
and draw()
methods. Add a new user-interaction mechanism (perhaps right-clicking or using a specific key-press – check the reference for how!) to introduce your new animation to the sketch.