Added enumerateTileSetIds().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@658 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// $Id: TileSetRepository.java,v 1.2 2001/11/18 04:09:21 mdb Exp $
|
// $Id: TileSetRepository.java,v 1.3 2001/11/29 00:12:11 mdb Exp $
|
||||||
|
|
||||||
package com.threerings.media.tile;
|
package com.threerings.media.tile;
|
||||||
|
|
||||||
@@ -14,6 +14,13 @@ import com.samskivert.io.PersistenceException;
|
|||||||
*/
|
*/
|
||||||
public interface TileSetRepository
|
public interface TileSetRepository
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* Returns an iterator over the identifiers of all {@link TileSet}
|
||||||
|
* objects available.
|
||||||
|
*/
|
||||||
|
public Iterator enumerateTileSetIds ()
|
||||||
|
throws PersistenceException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns an iterator over all {@link TileSet} objects available.
|
* Returns an iterator over all {@link TileSet} objects available.
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// $Id: TileSetBundle.java,v 1.2 2001/11/20 03:48:41 mdb Exp $
|
// $Id: TileSetBundle.java,v 1.3 2001/11/29 00:13:42 mdb Exp $
|
||||||
|
|
||||||
package com.threerings.media.tile.bundle;
|
package com.threerings.media.tile.bundle;
|
||||||
|
|
||||||
@@ -54,6 +54,14 @@ public class TileSetBundle
|
|||||||
return (TileSet)get(tileSetId);
|
return (TileSet)get(tileSetId);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Enumerates the tileset ids in this tileset bundle.
|
||||||
|
*/
|
||||||
|
public Iterator enumerateTileSetIds ()
|
||||||
|
{
|
||||||
|
return keySet().iterator();
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Enumerates the tilesets in this tileset bundle.
|
* Enumerates the tilesets in this tileset bundle.
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user