com.threerings.tudey.client
Class TudeySceneView.UpdateRecord

java.lang.Object
  extended by com.threerings.tudey.client.TudeySceneView.UpdateRecord
Enclosing class:
TudeySceneView

protected static class TudeySceneView.UpdateRecord
extends Object

Contains the state at a single update.


Field Summary
protected  HashIntMap<Actor> _actors
          The states of the actors.
protected  long _received
          The wall clock time at which the update was received.
protected  int _timestamp
          The timestamp of the update.
 
Constructor Summary
TudeySceneView.UpdateRecord(int timestamp, long received, HashIntMap<Actor> actors)
          Creates a new update record.
 
Method Summary
 HashIntMap<Actor> getActors()
          Returns the map of actors.
 long getReceived()
          Returns the time at which the update was received.
 int getTimestamp()
          Returns the timestamp of this update.
 
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 update.


_received

protected long _received
The wall clock time at which the update was received.


_actors

protected HashIntMap<Actor> _actors
The states of the actors.

Constructor Detail

TudeySceneView.UpdateRecord

public TudeySceneView.UpdateRecord(int timestamp,
                                   long received,
                                   HashIntMap<Actor> actors)
Creates a new update record.

Method Detail

getTimestamp

public int getTimestamp()
Returns the timestamp of this update.


getReceived

public long getReceived()
Returns the time at which the update was received.


getActors

public HashIntMap<Actor> getActors()
Returns the map of actors.