My favorites | Sign in
Logo
                
Changes to /trunk/as3/trunk/src/org/papervision3d/core/animation/IAnimatable.as
r708 vs. r911   Edit
  Compare: vs.   Format:
Revision r911
Go to: 
Project members, sign in to write a code review
/trunk/as3/trunk/src/org/papervision3d/core/animation/IAnimatable.as   r708 /trunk/as3/trunk/src/org/papervision3d/core/animation/IAnimatable.as   r911
1 package org.papervision3d.core.animation 1 package org.papervision3d.core.animation
2 { 2 {
3 public interface IAnimatable 3 public interface IAnimatable
4 { 4 {
5 /**
6 * Pauses the animation.
7 */
8 function pause():void;
9
5 /** 10 /**
6 * Plays the animation. 11 * Plays the animation.
7 * 12 *
8 * @param clip Optional clip name. 13 * @param clip Clip to play. Default is "all"
14 * @param loop Whether the animation should loop. Default is true.
9 */ 15 */
10 function play(clip:String=null):void; 16 function play(clip:String="all", loop:Boolean=true):void;
17
18 /**
19 * Resumes a paused animation.
20 *
21 * @param loop Whether the animation should loop. Defaults is true.
22 */
23 function resume(loop:Boolean=true):void;
11 24
12 /** 25 /**
13 * Stops the animation. 26 * Stops the animation.
14 */ 27 */
15 function stop():void; 28 function stop():void;
29
30 /**
31 * Whether the animation is playing. This property is read-only.
32 */
33 function get playing() : Boolean;
16 } 34 }
17 } 35 }
Hosted by Google Code