Package ActiverseEngine
Class ActiverseImage
java.lang.Object
ActiverseEngine.ActiverseImage
Represents an image loader for loading images from files.
This class provides methods to load an image and retrieve it.
-
Constructor Summary
ConstructorDescriptionActiverseImage
(String filename) Constructs a new ActiverseImage object with the image loaded from the specified file. -
Method Summary
-
Constructor Details
-
ActiverseImage
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
Gets the loaded image.- Returns:
- The Image object representing the loaded image.
-
getPath
-