From d21b5d1db1c475b041006fdc24a333f4569d18c7 Mon Sep 17 00:00:00 2001 From: Michael Bayne Date: Sat, 6 Apr 2002 02:03:32 +0000 Subject: [PATCH] Added tileSetMapped(). git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1195 542714f4-19e9-0310-aa3c-eee0fc999fb1 --- .../media/tile/bundle/tools/BuildTestTileSetBundle.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tests/src/java/com/threerings/media/tile/bundle/tools/BuildTestTileSetBundle.java b/tests/src/java/com/threerings/media/tile/bundle/tools/BuildTestTileSetBundle.java index cc20593a6..f731981cd 100644 --- a/tests/src/java/com/threerings/media/tile/bundle/tools/BuildTestTileSetBundle.java +++ b/tests/src/java/com/threerings/media/tile/bundle/tools/BuildTestTileSetBundle.java @@ -1,5 +1,5 @@ // -// $Id: BuildTestTileSetBundle.java,v 1.5 2002/02/05 20:29:09 mdb Exp $ +// $Id: BuildTestTileSetBundle.java,v 1.6 2002/04/06 02:03:32 mdb Exp $ package com.threerings.media.tile.bundle.tools; @@ -55,6 +55,11 @@ public class BuildTestTileSetBundle return id.intValue(); } + public boolean tileSetMapped (String tileSetName) + { + return containsKey(tileSetName); + } + public void commit () throws PersistenceException {