|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.threerings.tudey.server.ClientLiaison.TickRecord
protected static class ClientLiaison.TickRecord
Contains the state at a single tick.
| Field Summary | |
|---|---|
protected Actor[] |
_actorsAdded
The actors added on this tick. |
protected Actor[] |
_actorsRemoved
The states on the previous tick of actors removed on this tick. |
protected ActorDelta[] |
_actorsUpdated
The deltas of actors updated on this tick. |
protected Effect[] |
_effectsFired
The effects fired on this tick. |
protected int |
_timestamp
The timestamp of this record. |
SceneDeltaEvent |
event
A reference to the transmitted event. |
| Constructor Summary | |
|---|---|
ClientLiaison.TickRecord()
Creates an empty reference record. |
|
ClientLiaison.TickRecord(int timestamp,
Actor[] actorsAdded,
ActorDelta[] actorsUpdated,
Actor[] actorsRemoved,
Effect[] effectsFired)
Creates a new record. |
|
| Method Summary | |
|---|---|
Actor[] |
getActorsAdded()
Returns the actors added on this tick. |
Actor[] |
getActorsRemoved()
Returns the states on the previous tick of actors removed on this tick. |
ActorDelta[] |
getActorsUpdated()
Returns the deltas of actors updated on this tick. |
Effect[] |
getEffectsFired()
Returns the effects fired on this tick. |
int |
getTimestamp()
Returns the timestamp of this record. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public SceneDeltaEvent event
protected int _timestamp
protected Actor[] _actorsAdded
protected ActorDelta[] _actorsUpdated
protected Actor[] _actorsRemoved
protected Effect[] _effectsFired
| Constructor Detail |
|---|
public ClientLiaison.TickRecord()
public ClientLiaison.TickRecord(int timestamp,
Actor[] actorsAdded,
ActorDelta[] actorsUpdated,
Actor[] actorsRemoved,
Effect[] effectsFired)
| Method Detail |
|---|
public int getTimestamp()
public Actor[] getActorsAdded()
public ActorDelta[] getActorsUpdated()
public Actor[] getActorsRemoved()
public Effect[] getEffectsFired()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||