if the sequencer is an AnimationFrameSequencer, let it know about us.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1732 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// $Id: MultiFrameAnimation.java,v 1.4 2002/09/17 22:18:42 mdb Exp $
|
// $Id: MultiFrameAnimation.java,v 1.5 2002/09/20 21:37:22 ray Exp $
|
||||||
|
|
||||||
package com.threerings.media.animation;
|
package com.threerings.media.animation;
|
||||||
|
|
||||||
@@ -67,6 +67,9 @@ public class MultiFrameAnimation extends Animation
|
|||||||
|
|
||||||
// reset our frame sequencer
|
// reset our frame sequencer
|
||||||
_seeker.init(_frames);
|
_seeker.init(_frames);
|
||||||
|
if (_seeker instanceof AnimationFrameSequencer) {
|
||||||
|
((AnimationFrameSequencer) _seeker).setAnimation(this);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// documentation inherited
|
// documentation inherited
|
||||||
|
|||||||
Reference in New Issue
Block a user