com.threerings.opengl.gui
Class Root.TickOp
java.lang.Object
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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_elapsed
protected float _elapsed
- The elapsed time since the last tick.
Root.TickOp
protected Root.TickOp()
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>