com.threerings.tudey.server
Class TudeySceneManager.TickOp

java.lang.Object
  extended by com.threerings.tudey.server.TudeySceneManager.TickOp
All Implemented Interfaces:
ObserverList.ObserverOp<TudeySceneManager.TickParticipant>
Direct Known Subclasses:
TudeySceneManager.ProfileTickOp
Enclosing class:
TudeySceneManager

protected static class TudeySceneManager.TickOp
extends Object
implements ObserverList.ObserverOp<TudeySceneManager.TickParticipant>

(Re)used to tick the participants.


Field Summary
protected  int _timestamp
          The timestamp of the current tick.
 
Constructor Summary
protected TudeySceneManager.TickOp()
           
 
Method Summary
 boolean apply(TudeySceneManager.TickParticipant participant)
           
 void init(int timestamp)
          (Re)initializes the op with the current timestamp.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_timestamp

protected int _timestamp
The timestamp of the current tick.

Constructor Detail

TudeySceneManager.TickOp

protected TudeySceneManager.TickOp()
Method Detail

init

public void init(int timestamp)
(Re)initializes the op with the current timestamp.


apply

public boolean apply(TudeySceneManager.TickParticipant participant)
Specified by:
apply in interface ObserverList.ObserverOp<TudeySceneManager.TickParticipant>