Added addAnimations(Animation[]).
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1662 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// $Id: AnimationWaiter.java,v 1.1 2002/05/21 17:59:11 shaper Exp $
|
// $Id: AnimationWaiter.java,v 1.2 2002/08/23 23:18:14 shaper Exp $
|
||||||
|
|
||||||
package com.threerings.media.animation;
|
package com.threerings.media.animation;
|
||||||
|
|
||||||
@@ -22,6 +22,18 @@ public abstract class AnimationWaiter
|
|||||||
_animCount++;
|
_animCount++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Adds the supplied animations to the animation waiter for
|
||||||
|
* observation.
|
||||||
|
*/
|
||||||
|
public void addAnimations (Animation[] anims)
|
||||||
|
{
|
||||||
|
int acount = anims.length;
|
||||||
|
for (int ii = 0; ii < acount; ii++) {
|
||||||
|
addAnimation(anims[ii]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// documentation inherited
|
// documentation inherited
|
||||||
public void handleEvent (AnimationEvent event)
|
public void handleEvent (AnimationEvent event)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user