Class ActiverseImage

java.lang.Object
ActiverseEngine.ActiverseImage

public class ActiverseImage extends Object
Represents an image loader for loading images from files. This class provides methods to load an image and retrieve it.
Version:
1.3.2
Author:
Knivier
  • Constructor Details

    • ActiverseImage

      public ActiverseImage(String filename)
      Constructs a new ActiverseImage object with the image loaded from the specified file.
      Parameters:
      filename - The path to the image file via (jpg/jpeg, png, gif, bmp, wbmp)
  • Method Details

    • getImage

      public Image getImage()
      Gets the loaded image.
      Returns:
      The Image object representing the loaded image.
    • getPath

      public String getPath()
      Gets the path to the image file.
      Returns:
      The path to the image file.