|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.threerings.crowd.server.PlaceManager
com.threerings.whirled.server.SceneManager
public class SceneManager
The scene manager extends the place manager and takes care of basic scene services. Presently that is little more than registering the scene manager with the scene registry so that the manager can be looked up by scene id in addition to place object id.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.threerings.crowd.server.PlaceManager |
|---|
com.threerings.crowd.server.PlaceManager.DelegateOp, com.threerings.crowd.server.PlaceManager.MessageHandler |
| Constructor Summary | |
|---|---|
SceneManager()
|
|
| Method Summary | |
|---|---|
com.threerings.crowd.data.Place |
getLocation()
|
Scene |
getScene()
Returns the scene object (not the scene distributed object) being managed by this scene manager. |
SceneUpdate[] |
getUpdates(int fromVersion)
Returns UpdateList.getUpdates(int) for this scene's updates. |
boolean |
isPersistent()
Returns true if this scene stores data in the database, or false if it's instantiated anew with each server restart |
String |
where()
|
| Methods inherited from class com.threerings.crowd.server.PlaceManager |
|---|
addDelegate, applyToDelegates, applyToOccupants, bodyWillEnter, bodyWillLeave, checkPermissions, getConfig, getPlaceObject, init, isValidSpeaker, messageReceived, ratifyBodyEntry, registerMessageHandler, shutdown, startup, toString, updateOccupantInfo |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SceneManager()
| Method Detail |
|---|
public Scene getScene()
public SceneUpdate[] getUpdates(int fromVersion)
UpdateList.getUpdates(int) for this scene's updates.
public com.threerings.crowd.data.Place getLocation()
getLocation in class com.threerings.crowd.server.PlaceManagerpublic boolean isPersistent()
public String where()
where in class com.threerings.crowd.server.PlaceManager
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||