Skip to content
Snippets Groups Projects
Unverified Commit fcc89105 authored by Jerome Humbert's avatar Jerome Humbert Committed by GitHub
Browse files

Added total duration and shared implementations (#74)

Exposed the total animation duration via the `TotalDuration` enum and
the `Tweenable<T>::total_duration() -> TotalDuration` API.

Added a default implementation for some methods of `Tweenable<T>`,
namely `set_progress()`, `progress()`, and `times_completed()`. These
shared implementations are used by all built-in tweenables.

Issue: #31
parent e6bdbbce
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