|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.threerings.whirled.data.SceneImpl
public class SceneImpl
An implementation of the Scene interface.
| Constructor Summary | |
|---|---|
SceneImpl()
Instantiates a blank scene implementation. |
|
SceneImpl(SceneModel model,
com.threerings.crowd.data.PlaceConfig config)
Creates an instance that will obtain data from the supplied scene model and place config. |
|
| Method Summary | |
|---|---|
int |
getId()
Returns the unique identifier for this scene. |
String |
getName()
Returns the human readable name of this scene. |
com.threerings.crowd.data.PlaceConfig |
getPlaceConfig()
Returns the place config that can be used to determine which place controller instance should be used to display this scene as well as to obtain runtime configuration information. |
SceneModel |
getSceneModel()
Returns the scene model from which this scene was created. |
int |
getVersion()
Returns the version number of this scene. |
void |
setId(int sceneId)
Sets this scene's unique identifier. |
void |
setName(String name)
Sets the human readable name of this scene. |
void |
setVersion(int version)
Sets this scene's version number. |
String |
toString()
|
void |
updateReceived(SceneUpdate update)
Called to inform the scene that an update has been received while the scene was resolved and active. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SceneImpl(SceneModel model,
com.threerings.crowd.data.PlaceConfig config)
public SceneImpl()
| Method Detail |
|---|
public int getId()
Scene
getId in interface Scenepublic String getName()
Scene
getName in interface Scenepublic int getVersion()
Scene
getVersion in interface Scenepublic com.threerings.crowd.data.PlaceConfig getPlaceConfig()
Scene
getPlaceConfig in interface Scenepublic void setId(int sceneId)
Scene
setId in interface Scenepublic void setName(String name)
Scene
setName in interface Scenepublic void setVersion(int version)
Scene
setVersion in interface Scenepublic void updateReceived(SceneUpdate update)
Scene
updateReceived in interface Scenepublic SceneModel getSceneModel()
Scene
getSceneModel in interface Scenepublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||