public class TestTileLoader extends Object implements com.threerings.media.tile.TileSetIDBroker
| Constructor and Description |
|---|
TestTileLoader()
Construct the TestTileLoader.
|
| Modifier and Type | Method and Description |
|---|---|
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) |
public HashIntMap<com.threerings.media.tile.TileSet> loadTestTiles()
TileSetId -> TileSet mapping for
all the tilesets we create.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.TileSetIDBrokerCopyright © 2015. All rights reserved.