Platform/GFX/2013-April-2: Difference between revisions

m
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&mdash;no exceptions or changing behavior
* Consistent&mdash;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===
Confirmed users
166

edits