diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/io/polyfrost/oneconfig/lwjgl/image/ImageLoader.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/java/io/polyfrost/oneconfig/lwjgl/image/ImageLoader.java b/src/main/java/io/polyfrost/oneconfig/lwjgl/image/ImageLoader.java index 3415ea9..37466b2 100644 --- a/src/main/java/io/polyfrost/oneconfig/lwjgl/image/ImageLoader.java +++ b/src/main/java/io/polyfrost/oneconfig/lwjgl/image/ImageLoader.java @@ -68,6 +68,10 @@ public class ImageLoader { return true; } + public void removeImage(String fileName) { + imageHashMap.remove(fileName); + } + public Image getImage(String fileName) { return imageHashMap.get(fileName); } |