|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.threerings.stage.tools.editor.TestTileLoader
public class TestTileLoader
The TestTileLoader handles test tiles. Test tiles are tiles that an artist can load in on-the-fly to see how things look in the scene editor.
| Constructor Summary | |
|---|---|
TestTileLoader()
Construct the TestTileLoader. |
|
| Method Summary | |
|---|---|
void |
commit()
Since we're just testing, we don't save these crazy IDs. |
int |
getTileSetID(String tileSetPath)
Generate unique and completely fake tileset IDs that will be stable even after a reload of test tiles. |
HashIntMap<com.threerings.media.tile.TileSet> |
loadTestTiles()
Check the specified directory and all its subdirectories for xml files. |
boolean |
tileSetMapped(String tilesetPath)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TestTileLoader()
| Method Detail |
|---|
public HashIntMap<com.threerings.media.tile.TileSet> loadTestTiles()
public int getTileSetID(String tileSetPath)
getTileSetID in interface com.threerings.media.tile.TileSetIDBrokerpublic boolean tileSetMapped(String tilesetPath)
tileSetMapped in interface com.threerings.media.tile.TileSetIDBrokerpublic void commit()
commit in interface com.threerings.media.tile.TileSetIDBroker
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||