Added getDefaultEntranceId().

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@663 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2001-11-29 00:16:11 +00:00
parent b84b342973
commit cdc4adfca8
2 changed files with 13 additions and 2 deletions
@@ -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}).
@@ -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 ()
{