public final class Images extends ResourcesContainer<java.awt.image.BufferedImage>
Modifier and Type | Method and Description |
---|---|
void |
load(TextureAtlas textureAtlas)
Loads all images from the specified texture atlas.
|
protected java.awt.image.BufferedImage |
load(java.net.URL resourceName)
Loads the image by the specified resourceName.
|
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
public void load(TextureAtlas textureAtlas)
textureAtlas
- The texture atlas that contains all the images.protected java.awt.image.BufferedImage load(java.net.URL resourceName) throws java.io.IOException
load
in class ResourcesContainer<java.awt.image.BufferedImage>
resourceName
- The path to the image.java.io.IOException