This takes the delta time since the last update call as the input.
This is called with the value (0.0 -> 1.0) of the amount that this animation has completed by.
If the repeat count is negative, then we repeat infinitely. Otherwise, we run the animation repeatCount number of times.
This determines the style of our animation repeat