java.lang.Object
de.gurkenlabs.litiengine.resources.ResourcesContainer<java.awt.image.BufferedImage>
de.gurkenlabs.litiengine.resources.Images

public final class Images
extends ResourcesContainer<java.awt.image.BufferedImage>
  • Method Details

    • load

      public void load​(TextureAtlas textureAtlas)
      Loads all images from the specified texture atlas.
      Parameters:
      textureAtlas - The texture atlas that contains all the images.
    • load

      protected java.awt.image.BufferedImage load​(java.net.URL resourceName) throws java.io.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<java.awt.image.BufferedImage>
      Parameters:
      resourceName - The path to the image.
      Returns:
      the image
      Throws:
      java.io.IOException