Introduce Renderer trait, Engine implements it.
Introduce Renderer trait, Engine implements it.

Pull out custom code into trait method implementation.  Also change
engine.animating from c_int into bool.

skligys/rusty-cardboard