|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.threerings.io.SimpleStreamableObject
com.threerings.whirled.data.SceneModel
public class SceneModel
The scene model is the bare bones representation of the data for a
scene in the Whirled system. From the scene model, one would create an
instance of Scene.
The scene model is what is loaded from the scene repositories and what is transmitted over the wire when communicating scenes from the server to the client.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.threerings.io.Streamable |
|---|
com.threerings.io.Streamable.Closure |
| Field Summary | |
|---|---|
AuxModel[] |
auxModels
Auxiliary scene model information. |
String |
name
The human readable name of this scene. |
int |
sceneId
This scene's unique identifier. |
int |
version
The version number of this scene. |
| Constructor Summary | |
|---|---|
SceneModel()
|
|
| Method Summary | |
|---|---|
void |
addAuxModel(AuxModel auxModel)
Adds the specified auxiliary model to this scene model. |
static SceneModel |
blankSceneModel()
Creates and returns a blank scene model. |
SceneModel |
clone()
|
| Methods inherited from class com.threerings.io.SimpleStreamableObject |
|---|
toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public int sceneId
public String name
public int version
public AuxModel[] auxModels
| Constructor Detail |
|---|
public SceneModel()
| Method Detail |
|---|
public void addAuxModel(AuxModel auxModel)
public SceneModel clone()
throws CloneNotSupportedException
clone in class ObjectCloneNotSupportedExceptionpublic static SceneModel blankSceneModel()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||