Class Tilesets
java.lang.Object
de.gurkenlabs.litiengine.resources.ResourcesContainer<Tileset>
de.gurkenlabs.litiengine.resources.Tilesets
Manages the loading and storage of Tileset resources.
-
Method Summary
Methods inherited from class ResourcesContainer
add, add, addClearedListener, addContainerListener, clear, contains, contains, contains, count, get, get, get, get, get, get, get, getAlias, getAll, getAsync, getAsync, getResources, remove, remove, removeClearedListener, removeContainerListener, tryGet, tryGet
-
Method Details
-
load
Loads a Tileset from the specified URL.- Specified by:
loadin classResourcesContainer<Tileset>- Parameters:
resourceName- The URL of the resource to load.- Returns:
- The loaded Tileset.
- Throws:
IOException- If an I/O error occurs.URISyntaxException- If the URL is not formatted correctly.
-