public class ScenePlace
extends com.threerings.crowd.data.Place
Place with scene information.| Modifier and Type | Field and Description |
|---|---|
int |
sceneId
The id of the scene occupied by the body.
|
| Constructor and Description |
|---|
ScenePlace(int sceneOid,
int sceneId)
Creates a scene place with the supplied
SceneObject oid and scene id. |
| Modifier and Type | Method and Description |
|---|---|
static int |
getSceneId(com.threerings.crowd.data.BodyObject bobj)
Returns the scene id occupied by the supplied body or -1 if the body is not in a scene.
|
static int |
getSceneId(com.threerings.crowd.data.Place place)
Returns the scene id for the supplied place or -1 if the place is null or not a scene place.
|
public ScenePlace(int sceneOid,
int sceneId)
SceneObject oid and scene id.public static int getSceneId(com.threerings.crowd.data.Place place)
public static int getSceneId(com.threerings.crowd.data.BodyObject bobj)
Copyright © 2015. All rights reserved.