Class ImagesContainer
java.lang.Object
de.pirckheimer_gymnasium.engine_pi.resources.ResourcesContainer<BufferedImage>
de.pirckheimer_gymnasium.engine_pi.resources.ImagesContainer
Ein Speicher für Bild-Resourcen vom Datentyp
BufferedImage.-
Method Summary
Modifier and TypeMethodDescriptionprotected BufferedImageLoads the image by the specified resourceName.Methods inherited from class de.pirckheimer_gymnasium.engine_pi.resources.ResourcesContainer
add, add, addClearedListener, addContainerListener, addManipulator, clear, contains, contains, contains, count, get, get, get, get, get, get, get, getAlias, getAll, getAsync, getAsync, getResources, remove, remove, removeClearedListener, removeContainerListener, removeManipulator, tryGet, tryGet
-
Method Details
-
load
Loads the image by the specified resourceName. This method supports both loading images from a folder and loading them from the resources.- Specified by:
loadin classResourcesContainer<BufferedImage>- Parameters:
resourceName- The path to the image.- Returns:
- the image
- Throws:
IOException
-