Refactored the tileset trimming code so that it can more easily be reused

to trim object tilesets.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1524 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2002-06-21 18:09:37 +00:00
parent ad9a54086e
commit c3c08a03b3
3 changed files with 96 additions and 44 deletions
@@ -1,5 +1,5 @@
//
// $Id: ComponentBundlerTask.java,v 1.9 2002/06/19 08:33:14 mdb Exp $
// $Id: ComponentBundlerTask.java,v 1.10 2002/06/21 18:09:37 mdb Exp $
package com.threerings.cast.bundle.tools;
@@ -43,7 +43,6 @@ import com.threerings.media.tile.ImageProvider;
import com.threerings.media.tile.TileSet;
import com.threerings.media.tile.TrimmedTileSet;
import com.threerings.media.tile.tools.xml.SwissArmyTileSetRuleSet;
import com.threerings.media.tile.util.TileSetTrimmer;
import com.threerings.cast.ComponentIDBroker;
import com.threerings.cast.bundle.BundleUtil;
@@ -183,7 +182,7 @@ public class ComponentBundlerTask extends Task
}
});
TrimmedTileSet tset =
TileSetTrimmer.trimTileSet(aset, jout);
TrimmedTileSet.trimTileSet(aset, jout);
tset.setImagePath(ipath);
tset.setName(aset.getName());