Moved TileSetManager-specific methods from TileManager to TSM since

the editor is a special-purpose app and as such can reference the TSM
directly and save us from unnecessary TM -> TSM machinations.
Reference miso.properties in its new miso-specific location.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@83 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Walter Korman
2001-07-20 02:23:34 +00:00
parent 35e3616c1e
commit 633eda4cfe
3 changed files with 20 additions and 27 deletions
@@ -1,5 +1,5 @@
//
// $Id: TileManager.java,v 1.7 2001/07/18 22:45:35 shaper Exp $
// $Id: TileManager.java,v 1.8 2001/07/20 02:23:34 shaper Exp $
package com.threerings.miso.tile;
@@ -27,24 +27,6 @@ public class TileManager
_tsmgr = tsmgr;
}
/**
* Return the total number of tiles in the specified tileset.
*/
public int getNumTilesInSet (int tsid)
{
TileSet tset = _tsmgr.getTileSet(tsid);
if (tset == null) return -1;
return tset.getNumTiles();
}
/**
* Return a list of all tilesets available for use.
*/
public ArrayList getTileSets ()
{
return _tsmgr.getTileSets();
}
/**
* Return the Tile object for the specified tileset and tile id.
*/