com.threerings.tudey.data
Class TudeySceneConfig
java.lang.Object
com.threerings.io.SimpleStreamableObject
com.threerings.crowd.data.PlaceConfig
com.threerings.tudey.data.TudeySceneConfig
- All Implemented Interfaces:
- Exportable, com.threerings.io.Streamable, Copyable, Cloneable
- Direct Known Subclasses:
- ToolSceneConfig
public class TudeySceneConfig
- extends com.threerings.crowd.data.PlaceConfig
- implements Exportable, Cloneable, Copyable
Place configuration for Tudey scenes.
| Nested classes/interfaces inherited from interface com.threerings.io.Streamable |
com.threerings.io.Streamable.Closure |
| Methods inherited from class com.threerings.crowd.data.PlaceConfig |
getControllerClass |
| Methods inherited from class com.threerings.io.SimpleStreamableObject |
toString |
TudeySceneConfig
public TudeySceneConfig()
getInputAdvance
public int getInputAdvance(int pingAverage)
- Returns the interval ahead of the smoothed server time (which estimates the server time
minus one-way latency) at which clients schedule input events. This should be at least the
transmit interval (which represents the maximum amount of time that events may be delayed)
plus the two-way latency.
- Parameters:
pingAverage - the two-way latency estimate to use in the calculation.
getTransmitInterval
public int getTransmitInterval()
- Returns the interval at which clients transmit their input frames.
copy
public Object copy(Object dest)
- Description copied from interface:
Copyable
- Creates a copy of this object, (re)populating the supplied destination object if possible.
- Specified by:
copy in interface Copyable
- Returns:
- either a reference to the destination object, if it could be repopulated, or a new
object containing the copied state.
copy
public Object copy(Object dest,
Object outer)
- Description copied from interface:
Copyable
- Creates a copy of this object, (re)populating the supplied destination object if possible.
- Specified by:
copy in interface Copyable
outer - the outer object reference to use for inner object creation, if any.
- Returns:
- either a reference to the destination object, if it could be repopulated, or a new
object containing the copied state.
createController
public com.threerings.crowd.client.PlaceController createController()
- Overrides:
createController in class com.threerings.crowd.data.PlaceConfig
getManagerClassName
public String getManagerClassName()
- Specified by:
getManagerClassName in class com.threerings.crowd.data.PlaceConfig
clone
public TudeySceneConfig clone()
- Overrides:
clone in class Object
equals
public boolean equals(Object other)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
Copyright © 2011. All Rights Reserved.