diff --git a/src/java/com/threerings/media/animation/AnimationWaiter.java b/src/java/com/threerings/media/animation/AnimationWaiter.java index c43593733..9caf0751f 100644 --- a/src/java/com/threerings/media/animation/AnimationWaiter.java +++ b/src/java/com/threerings/media/animation/AnimationWaiter.java @@ -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; @@ -22,6 +22,18 @@ public abstract class AnimationWaiter _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 public void handleEvent (AnimationEvent event) {