Confirmed users
166
edits
Line 110: | Line 110: | ||
'''Approach B) Make a separate object for play control (the Player) associated with the root timing group an animation is part of''' | '''Approach B) (Current spec) Make a separate object for play control (the Player) associated with the root timing group an animation is part of''' | ||
To pause an animation you do animation.getPlayer().pause() and it pauses everything in that tree | To pause an animation you do <code>animation.getPlayer().pause()</code> and it pauses everything in that tree | ||
* Consistent—no exceptions or changing behavior | * Consistent—no exceptions or changing behavior | ||
* More complex | * More complex | ||
* Makes it obvious that an animation may be part of a more complex arrangement | * Makes it obvious that an animation may be part of a more complex arrangement | ||
===Issue 3: Representing timing parameters in the API=== | ===Issue 3: Representing timing parameters in the API=== |