Package dev.kyzel.utils
Class TextureLoader
java.lang.Object
dev.kyzel.utils.TextureLoader
A class to handle loading texture.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic BufferedImage
Attempts to load an image from the given path.
-
Constructor Details
-
TextureLoader
public TextureLoader()
-
-
Method Details
-
loadImage
Attempts to load an image from the given path.- Parameters:
path
- the path of the image- Returns:
- the loaded image if loaded successfully, null otherwise
-