| Modifier and Type | Class and Description |
|---|---|
class |
StageSceneModel
Extends the basic scene model with the notion of a scene type and
incorporates the necessary auxiliary models used by the Stage system.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ModifyObjectsUpdate.apply(SceneModel model) |
void |
DefaultColorUpdate.apply(SceneModel model) |
static StageMisoSceneModel |
StageMisoSceneModel.getSceneModel(SceneModel model)
Locates and returns the
StageMisoSceneModel among the
auxiliary scene models associated with the supplied scene model. |
| Modifier and Type | Method and Description |
|---|---|
SceneModel |
SceneDirector.getPendingModel()
Returns the model loaded in preparation for a scene transition.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SceneService.SceneMoveListener.moveSucceededWithScene(int placeId,
com.threerings.crowd.data.PlaceConfig config,
SceneModel model)
Indicates that a move succeeded and that the client's cached scene information should be
updated with the supplied data.
|
void |
SceneMoveAdapter.moveSucceededWithScene(int placeId,
com.threerings.crowd.data.PlaceConfig config,
SceneModel model) |
void |
SceneDirector.moveSucceededWithScene(int placeId,
com.threerings.crowd.data.PlaceConfig config,
SceneModel model) |
| Modifier and Type | Method and Description |
|---|---|
SceneModel |
SceneRepository.loadSceneModel(int sceneId)
Fetches the model for the scene with the specified id.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SceneRepository.storeSceneModel(SceneModel model)
Updates or inserts this scene model as appropriate.
|
| Modifier and Type | Method and Description |
|---|---|
static SceneModel |
SceneModel.blankSceneModel()
Creates and returns a blank scene model.
|
SceneModel |
SceneModel.clone() |
SceneModel |
SceneImpl.getSceneModel() |
SceneModel |
Scene.getSceneModel()
Returns the scene model from which this scene was created.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SceneUpdate.apply(SceneModel model)
Applies this update to the specified scene model.
|
void |
SceneMarshaller.SceneMoveMarshaller.moveSucceededWithScene(int arg1,
com.threerings.crowd.data.PlaceConfig arg2,
SceneModel arg3) |
void |
SceneUpdate.validate(SceneModel model)
Called to ensure that the scene is in the appropriate state prior to applying the update.
|
| Constructor and Description |
|---|
SceneImpl(SceneModel model,
com.threerings.crowd.data.PlaceConfig config)
Creates an instance that will obtain data from the supplied scene
model and place config.
|
| Modifier and Type | Method and Description |
|---|---|
com.threerings.crowd.data.PlaceConfig |
SceneRegistry.ConfigFactory.createPlaceConfig(SceneModel model)
Creates the place config instance appropriate to the specified scene.
|
| Modifier and Type | Method and Description |
|---|---|
SceneModel |
SceneRepository.loadSceneModel(int sceneId)
Fetches the model for the scene with the specified scene id.
|
SceneModel |
DummySceneRepository.loadSceneModel(int sceneId) |
| Modifier and Type | Method and Description |
|---|---|
void |
SceneRepository.applyAndRecordUpdate(SceneModel model,
SceneUpdate update)
Applise the supplied scene update to persistent representation of its associated scene, then
stores the update persistently for future invocations of the server to load.
|
void |
DummySceneRepository.applyAndRecordUpdate(SceneModel model,
SceneUpdate update) |
Object |
SceneRepository.loadExtras(int sceneId,
SceneModel model)
Loads optional additional scene data.
|
Object |
DummySceneRepository.loadExtras(int sceneId,
SceneModel model) |
| Modifier and Type | Method and Description |
|---|---|
void |
ModifyPortalsUpdate.apply(SceneModel model) |
static SpotSceneModel |
SpotSceneModel.getSceneModel(SceneModel model)
Locates and returns the
SpotSceneModel among the auxiliary scene models associated
with the supplied scene model. |
void |
SpotMarshaller.SpotSceneMoveMarshaller.moveSucceededWithScene(int arg1,
com.threerings.crowd.data.PlaceConfig arg2,
SceneModel arg3) |
| Modifier and Type | Method and Description |
|---|---|
SceneModel |
SceneParser.parseScene(InputStream scene)
Parses the XML file provided by
scene into a scene model instance. |
SceneModel |
SceneParser.parseScene(String path)
Parses the XML file at the specified path into a scene model instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SceneParser.setScene(SceneModel model)
Called by the parser once the scene is parsed.
|
void |
SceneWriter.writeScene(File out,
SceneModel model)
Writes the supplied scene out to the specified file.
|
void |
SceneWriter.writeSceneModel(SceneModel model,
com.megginson.sax.DataWriter writer)
Writes the data for the supplied
SceneModel to the XML data
writer supplied. |
| Modifier and Type | Method and Description |
|---|---|
Scene |
SceneFactory.createScene(SceneModel model,
com.threerings.crowd.data.PlaceConfig config)
Creates a
Scene implementation given the supplied scene
model and place config. |
| Modifier and Type | Method and Description |
|---|---|
void |
ZoneService.ZoneMoveListener.moveSucceededWithScene(int placeId,
com.threerings.crowd.data.PlaceConfig config,
ZoneSummary summary,
SceneModel model)
Called in response to a successful
ZoneService.moveTo(int, int, int, com.threerings.whirled.zone.client.ZoneService.ZoneMoveListener) request when our cached
scene was out of date and the server determined that we needed an updated copy. |
void |
ZoneDirector.moveSucceededWithScene(int placeId,
com.threerings.crowd.data.PlaceConfig config,
ZoneSummary summary,
SceneModel model) |
| Modifier and Type | Method and Description |
|---|---|
void |
ZoneMarshaller.ZoneMoveMarshaller.moveSucceededWithScene(int arg1,
com.threerings.crowd.data.PlaceConfig arg2,
ZoneSummary arg3,
SceneModel arg4) |
Copyright © 2015. All rights reserved.