public class SpotSceneModel extends com.threerings.io.SimpleStreamableObject implements AuxModel
| Modifier and Type | Field and Description |
|---|---|
int |
defaultEntranceId
The portal id of the default entrance to this scene.
|
Portal[] |
portals
An array containing all portals in this scene.
|
| Constructor and Description |
|---|
SpotSceneModel() |
| Modifier and Type | Method and Description |
|---|---|
void |
addPortal(Portal portal)
Adds a portal to this scene model.
|
SpotSceneModel |
clone()
Creates a clone of this auxiliary model.
|
static SpotSceneModel |
getSceneModel(SceneModel model)
Locates and returns the
SpotSceneModel among the auxiliary scene models associated
with the supplied scene model. |
void |
removePortal(Portal portal)
Removes a portal from this model.
|
public Portal[] portals
public int defaultEntranceId
public void addPortal(Portal portal)
public void removePortal(Portal portal)
public SpotSceneModel clone() throws CloneNotSupportedException
AuxModelclone in interface AuxModelclone in class ObjectCloneNotSupportedExceptionpublic static SpotSceneModel getSceneModel(SceneModel model)
SpotSceneModel among the auxiliary scene models associated
with the supplied scene model. null is returned if no spot scene model could
be found.Copyright © 2015. All rights reserved.