com.threerings.opengl.model
Class Animation.StoppedOp

java.lang.Object
  extended by com.threerings.opengl.model.Animation.AnimationOp
      extended by com.threerings.opengl.model.Animation.StoppedOp
All Implemented Interfaces:
ObserverList.ObserverOp<AnimationObserver>
Enclosing class:
Animation

protected static class Animation.StoppedOp
extends Animation.AnimationOp

An ObserverList.ObserverOp that calls AnimationObserver.animationStopped(com.threerings.opengl.model.Animation, boolean).


Field Summary
protected  boolean _completed
          Whether or not the animation completed.
 
Fields inherited from class com.threerings.opengl.model.Animation.AnimationOp
_animation
 
Constructor Summary
protected Animation.StoppedOp()
           
 
Method Summary
 boolean apply(AnimationObserver observer)
           
 void init(Animation animation, boolean completed)
          (Re)initializes this op.
 
Methods inherited from class com.threerings.opengl.model.Animation.AnimationOp
clear
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_completed

protected boolean _completed
Whether or not the animation completed.

Constructor Detail

Animation.StoppedOp

protected Animation.StoppedOp()
Method Detail

init

public void init(Animation animation,
                 boolean completed)
(Re)initializes this op.


apply

public boolean apply(AnimationObserver observer)