com.threerings.opengl.gui
Class Root.TickOp

java.lang.Object
  extended by com.threerings.opengl.gui.Root.TickOp
All Implemented Interfaces:
ObserverList.ObserverOp<Tickable>
Enclosing class:
Root

protected static class Root.TickOp
extends Object
implements ObserverList.ObserverOp<Tickable>

Used to notify the tick participants.


Field Summary
protected  float _elapsed
          The elapsed time since the last tick.
 
Constructor Summary
protected Root.TickOp()
           
 
Method Summary
 boolean apply(Tickable tickable)
           
 Root.TickOp init(float elapsed)
          Initializes this op with the elapsed time.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_elapsed

protected float _elapsed
The elapsed time since the last tick.

Constructor Detail

Root.TickOp

protected Root.TickOp()
Method Detail

init

public Root.TickOp init(float elapsed)
Initializes this op with the elapsed time.

Returns:
a reference to the op, for chaining.

apply

public boolean apply(Tickable tickable)
Specified by:
apply in interface ObserverList.ObserverOp<Tickable>