Let the world know what's playing.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@323 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
@@ -82,6 +82,14 @@ public class AnimationManager
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Test to see if the specified animation has been started and not stopped.
|
||||
*/
|
||||
public static function isPlaying (anim :Animation) :Boolean
|
||||
{
|
||||
return _anims.indexOf(anim) >= 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Track a DisplayObject that is also an Animation- it will
|
||||
* automatically be started when added to the stage and
|
||||
|
||||
Reference in New Issue
Block a user