Class Images


public final class Images extends ResourcesContainer<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 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