com.threerings.miso.tile
Class MisoTileManager
java.lang.Object
com.threerings.media.tile.TileManager
com.threerings.miso.tile.MisoTileManager
public class MisoTileManager
- extends TileManager
Extends the basic tile manager and provides support for automatically generating fringes in
between different types of base tiles in a scene.
|
Field Summary |
protected AutoFringer |
_fringer
The entity that performs the automatic fringe layer generation. |
protected static String |
FRINGE_CONFIG_PATH
The path (in the classpath) to the serialized fringe configuration. |
| Methods inherited from class com.threerings.media.tile.TileManager |
clearCache, getImageProvider, getTile, getTile, getTile, getTileSet, getTileSet, getTileSetRepository, loadCachedTileSet, loadTileSet, loadTileSet, loadTileSet, setTileSetRepository |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_fringer
protected AutoFringer _fringer
- The entity that performs the automatic fringe layer generation.
FRINGE_CONFIG_PATH
protected static final String FRINGE_CONFIG_PATH
- The path (in the classpath) to the serialized fringe configuration.
- See Also:
- Constant Field Values
MisoTileManager
public MisoTileManager(ResourceManager rmgr,
ImageManager imgr)
- Creates a tile manager and provides it with a reference to the image manager from which it
will load tileset images.
- Parameters:
imgr - the image manager via which the tile manager will decode and cache images.
getAutoFringer
public AutoFringer getAutoFringer()
- Returns the auto fringer that has been configured for use by this tile manager. This will
only be valid if this tile manager has been provided with a miso tileset repository via
TileManager.setTileSetRepository(com.threerings.media.tile.TileSetRepository).