Brought into the newly revamped world of contexts. Moved SwingUtil to

samskivert.  Added config values to specify the tileset manager and
scene manager.  Split miso and editor config into two separate
properties files.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@101 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Walter Korman
2001-07-21 01:51:10 +00:00
parent 6c8c08a033
commit ab7c437a35
9 changed files with 122 additions and 40 deletions
@@ -1,5 +1,5 @@
//
// $Id: TileManager.java,v 1.8 2001/07/20 02:23:34 shaper Exp $
// $Id: TileManager.java,v 1.9 2001/07/21 01:51:10 shaper Exp $
package com.threerings.miso.tile;
@@ -57,6 +57,14 @@ public class TileManager
return tile;
}
/**
* Return the TileSetManager that the TileManager is using.
*/
public TileSetManager getTileSetManager ()
{
return _tsmgr;
}
/**
* Load all tileset objects described in the specified file into
* the set of available tilesets.
@@ -1,8 +1,10 @@
//
// $Id: TileSetManager.java,v 1.6 2001/07/20 02:23:34 shaper Exp $
// $Id: TileSetManager.java,v 1.7 2001/07/21 01:51:10 shaper Exp $
package com.threerings.miso.tile;
import com.threerings.media.ImageManager;
import java.awt.Image;
import java.io.InputStream;
import java.io.IOException;
@@ -10,6 +12,11 @@ import java.util.ArrayList;
public interface TileSetManager
{
/**
* Initialize the TileSetManager with the given ImageManager.
*/
public void init (ImageManager imgmgr);
/**
* Return the total number of tiles in the specified tileset.
*/
@@ -1,5 +1,5 @@
//
// $Id: TileSetManagerImpl.java,v 1.5 2001/07/20 02:23:34 shaper Exp $
// $Id: TileSetManagerImpl.java,v 1.6 2001/07/21 01:51:10 shaper Exp $
package com.threerings.miso.tile;
@@ -13,7 +13,7 @@ import java.util.Enumeration;
public abstract class TileSetManagerImpl implements TileSetManager
{
public TileSetManagerImpl (ImageManager imgr)
public void init (ImageManager imgr)
{
_imgr = imgr;
}