com.threerings.media.animation
Class AnimationFrameSequencer.MultiFunction.FrameReachedOp

java.lang.Object
  extended by com.threerings.media.animation.AnimationFrameSequencer.MultiFunction.FrameReachedOp
All Implemented Interfaces:
ObserverList.ObserverOp<Object>
Enclosing class:
AnimationFrameSequencer.MultiFunction

protected static class AnimationFrameSequencer.MultiFunction.FrameReachedOp
extends Object
implements ObserverList.ObserverOp<Object>

Used to dispatch SequencedAnimationObserver.frameReached(com.threerings.media.animation.Animation, long, int, int).


Field Summary
protected  Animation _anim
           
protected  int _frameIdx
           
protected  int _frameSeq
           
protected  long _when
           
 
Constructor Summary
AnimationFrameSequencer.MultiFunction.FrameReachedOp(Animation anim, long when, int frameIdx, int frameSeq)
           
 
Method Summary
 boolean apply(Object observer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_anim

protected Animation _anim

_when

protected long _when

_frameIdx

protected int _frameIdx

_frameSeq

protected int _frameSeq
Constructor Detail

AnimationFrameSequencer.MultiFunction.FrameReachedOp

public AnimationFrameSequencer.MultiFunction.FrameReachedOp(Animation anim,
                                                            long when,
                                                            int frameIdx,
                                                            int frameSeq)
Method Detail

apply

public boolean apply(Object observer)
Specified by:
apply in interface ObserverList.ObserverOp<Object>