diff --git a/src/java/com/threerings/whirled/spot/client/DisplaySpotScene.java b/src/java/com/threerings/whirled/spot/client/DisplaySpotScene.java index 7ea69fffb..f2f0c4774 100644 --- a/src/java/com/threerings/whirled/spot/client/DisplaySpotScene.java +++ b/src/java/com/threerings/whirled/spot/client/DisplaySpotScene.java @@ -1,5 +1,5 @@ // -// $Id: DisplaySpotScene.java,v 1.1 2001/11/13 02:25:35 mdb Exp $ +// $Id: DisplaySpotScene.java,v 1.2 2001/11/29 00:16:11 mdb Exp $ package com.threerings.whirled.spot.client; @@ -15,6 +15,11 @@ import com.threerings.whirled.spot.data.Portal; */ public interface DisplaySpotScene extends DisplayScene { + /** + * Returns the location id of the default entrance to this scene. + */ + public int getDefaultEntranceId (); + /** * Returns an array of the locations in this scene (including portals * which will be instances of {@link Portal}). diff --git a/src/java/com/threerings/whirled/spot/client/DisplaySpotSceneImpl.java b/src/java/com/threerings/whirled/spot/client/DisplaySpotSceneImpl.java index ad4f6e2ff..14958e8e4 100644 --- a/src/java/com/threerings/whirled/spot/client/DisplaySpotSceneImpl.java +++ b/src/java/com/threerings/whirled/spot/client/DisplaySpotSceneImpl.java @@ -1,5 +1,5 @@ // -// $Id: DisplaySpotSceneImpl.java,v 1.1 2001/11/13 02:25:35 mdb Exp $ +// $Id: DisplaySpotSceneImpl.java,v 1.2 2001/11/29 00:16:11 mdb Exp $ package com.threerings.whirled.spot.client; @@ -62,6 +62,12 @@ public class DisplaySpotSceneImpl extends DisplaySceneImpl } } + // documentation inherited + public int getDefaultEntranceId () + { + return _model.defaultEntranceId; + } + // documentation inherited public Location[] getLocations () {