Added convenience functions for looking up a location by id and a location

index by id.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@805 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2001-12-16 21:22:31 +00:00
parent 5b37850773
commit 5082bb817f
3 changed files with 55 additions and 3 deletions
@@ -1,5 +1,5 @@
//
// $Id: EditableSpotSceneImpl.java,v 1.9 2001/12/07 02:10:14 mdb Exp $
// $Id: EditableSpotSceneImpl.java,v 1.10 2001/12/16 21:22:31 mdb Exp $
package com.threerings.whirled.tools.spot;
@@ -119,6 +119,18 @@ public class EditableSpotSceneImpl extends EditableSceneImpl
return _delegate.getLocations();
}
// documentation inherited
public int getLocationIndex (int locationId)
{
return _delegate.getLocationIndex(locationId);
}
// documentation inherited
public Location getLocation (int locationId)
{
return _delegate.getLocation(locationId);
}
// documentation inherited
public List getPortals ()
{