Skip to content
Snippets Groups Projects
Commit d3b5f1be authored by Jerome Humbert's avatar Jerome Humbert
Browse files

`Tweenable`-based design

Add a `Tweenable<T>` trait describing a generic animatable tween-like
element.

Expose the three types of tweenables and implement `Tweenable<T>` for
them:
- `Tween<T>`, a single animation
- `Sequence<T>`, a sequence of consecutive animations
- `Tracks<T>`, a batch of animations running in parallel

Clean-up animators to hold a single top-level `Tweenable<T>` and let the
user build any kind of animation hierarchy for themselves.
parent e32bb511
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment