Class ImagesContainer

java.lang.Object
de.pirckheimer_gymnasium.engine_pi.resources.ResourcesContainer<BufferedImage>
de.pirckheimer_gymnasium.engine_pi.resources.ImagesContainer

public final class ImagesContainer extends ResourcesContainer<BufferedImage>
Ein Speicher für Bild-Resourcen vom Datentyp BufferedImage.
  • Method Details

    • load

      protected BufferedImage load(URL resourceName) throws IOException
      Loads the image by the specified resourceName. This method supports both loading images from a folder and loading them from the resources.
      Specified by:
      load in class ResourcesContainer<BufferedImage>
      Parameters:
      resourceName - The path to the image.
      Returns:
      the image
      Throws:
      IOException