| Modifier and Type | Method and Description |
|---|---|
Portal |
StageScenePanel.getPortal(int fullX,
int fullY)
Returns the portal at the specified full coordinates or null if no
portal exists at said coordinates.
|
| Modifier and Type | Method and Description |
|---|---|
Portal |
StageScene.getDefaultEntrance() |
Portal |
StageScene.getPortal(int portalId) |
| Modifier and Type | Method and Description |
|---|---|
Iterator<Portal> |
StageScene.getPortals() |
| Modifier and Type | Method and Description |
|---|---|
void |
StageScene.addPortal(Portal portal) |
void |
StageScene.removePortal(Portal portal) |
void |
StageScene.setDefaultEntrance(Portal portal) |
| Modifier and Type | Method and Description |
|---|---|
Portal |
EditorScenePanel.getEntrance()
Returns the portal that serves as the default entrance to this
scene or null if no default is set.
|
| Modifier and Type | Method and Description |
|---|---|
void |
EditorScenePanel.setEntrance(Portal port)
Makes the specified portal the default entrance to this scene.
|
| Modifier and Type | Field and Description |
|---|---|
Portal[] |
SpotSceneModel.portals
An array containing all portals in this scene.
|
Portal[] |
ModifyPortalsUpdate.portalsAdded
The portals to be added to the scene.
|
Portal[] |
ModifyPortalsUpdate.portalsRemoved
The portals to be removed from the room.
|
| Modifier and Type | Method and Description |
|---|---|
Portal |
Portal.clone() |
Portal |
SpotSceneImpl.getDefaultEntrance() |
Portal |
SpotScene.getDefaultEntrance()
Returns the portal that represents the default entrance to this scene.
|
Portal |
SpotSceneImpl.getPortal(int portalId) |
Portal |
SpotScene.getPortal(int portalId)
Returns a
Portal object for the portal with the specified id or null if no portal
exists with that id. |
| Modifier and Type | Method and Description |
|---|---|
Iterator<Portal> |
SpotSceneImpl.getPortals() |
Iterator<Portal> |
SpotScene.getPortals()
Returns an iterator over the portals in this scene.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SpotSceneModel.addPortal(Portal portal)
Adds a portal to this scene model.
|
void |
SpotSceneImpl.addPortal(Portal portal) |
void |
SpotScene.addPortal(Portal portal)
Adds a portal to this scene, immediately making the requisite modifications to the
underlying scene model.
|
void |
ModifyPortalsUpdate.initialize(int targetId,
int targetVersion,
Portal[] removed,
Portal[] added)
Initialize the update with all necessary data.
|
void |
ModifyPortalsUpdate.initialize(int targetId,
int targetVersion,
Portal[] removed,
Portal[] added)
Initialize the update with all necessary data.
|
void |
SpotSceneModel.removePortal(Portal portal)
Removes a portal from this model.
|
void |
SpotSceneImpl.removePortal(Portal portal) |
void |
SpotScene.removePortal(Portal portal)
Removes the specified portal from the scene.
|
void |
SpotSceneImpl.setDefaultEntrance(Portal portal) |
void |
SpotScene.setDefaultEntrance(Portal portal)
Sets the default entrance in this scene, immediately making the requisite modifications to
the underlying scene model.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SpotSceneManager.mapEnteringBody(com.threerings.crowd.data.BodyObject body,
Portal from)
Assigns a starting location for an entering body.
|
String |
SpotSceneManager.mayTraversePortal(com.threerings.crowd.data.BodyObject body,
Portal portal)
This is called when a user requests to traverse a portal from this scene to another scene.
|
void |
SpotSceneManager.willTraversePortal(com.threerings.crowd.data.BodyObject body,
Portal portal)
This is called to let this scene manager know that the user is about to traverse the
specified portal.
|
| Constructor and Description |
|---|
SpotSceneMoveHandler(com.threerings.crowd.server.LocationManager locman,
SpotSceneManager srcmgr,
com.threerings.crowd.data.BodyObject body,
int sceneVer,
Portal dest,
SceneService.SceneMoveListener listener) |
| Modifier and Type | Class and Description |
|---|---|
class |
EditablePortal
An editable portal extends the standard portal with information needed
by the loader and editor.
|
Copyright © 2015. All rights reserved.