Declared in SPAnimatable.h

Overview

The SPAnimatable protocol describes objects that are animated depending on the passed time. Any object that implements this protocol can be added to the SPJuggler.

When an object should no longer be animated, it has to be removed from the juggler. To do this, you can manually remove it via the method removeObject:, or the object can request to be removed by dispatching an event with the type SPEventTypeRemoveFromJuggler. The SPTween class is an example of a class that dispatches such an event; you don’t have to remove tweens manually from the juggler.

Tasks

Instance Methods

advanceTime:

Advance the animation by a number of seconds.

- (void)advanceTime:(double)seconds

Discussion

Advance the animation by a number of seconds.

Declared In

SPAnimatable.h