|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.threerings.media.tile.TileManager
com.threerings.miso.tile.MisoTileManager
com.threerings.stage.tools.editor.EditorTileManager
public class EditorTileManager
Extends the normal Miso Tile Manager to allow the use of a set of test tiles that can be used in the editor. These are loaded through the TestTileLoader.
| Field Summary | |
|---|---|
protected HashIntMap<com.threerings.media.tile.TileSet> |
_testSets
All the test tile sets we have available. |
| Fields inherited from class com.threerings.miso.tile.MisoTileManager |
|---|
_fringer, FRINGE_CONFIG_PATH |
| Fields inherited from class com.threerings.media.tile.TileManager |
|---|
_defaultProvider, _handcache, _imgr, _setrep |
| Constructor Summary | |
|---|---|
EditorTileManager(com.threerings.resource.ResourceManager rmgr,
com.threerings.media.image.ImageManager imgr)
|
|
| Method Summary | |
|---|---|
void |
addTestTileSet(int id,
com.threerings.media.tile.TileSet set)
Add a test tile set to search before normal tilesets. |
void |
clearTestTileSets()
Clear all of our existing test tile sets. |
com.threerings.media.tile.TileSet |
getTileSet(int tileSetId)
|
| Methods inherited from class com.threerings.miso.tile.MisoTileManager |
|---|
getAutoFringer |
| Methods inherited from class com.threerings.media.tile.TileManager |
|---|
clearCache, getImageProvider, getTile, getTile, getTile, 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 |
| Field Detail |
|---|
protected HashIntMap<com.threerings.media.tile.TileSet> _testSets
| Constructor Detail |
|---|
public EditorTileManager(com.threerings.resource.ResourceManager rmgr,
com.threerings.media.image.ImageManager imgr)
| Method Detail |
|---|
public com.threerings.media.tile.TileSet getTileSet(int tileSetId)
throws com.threerings.media.tile.NoSuchTileSetException
getTileSet in class com.threerings.media.tile.TileManagercom.threerings.media.tile.NoSuchTileSetException
public void addTestTileSet(int id,
com.threerings.media.tile.TileSet set)
public void clearTestTileSets()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||