diff options
author | DeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com> | 2022-04-26 20:43:59 +0200 |
---|---|---|
committer | DeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com> | 2022-04-26 20:43:59 +0200 |
commit | 32e80596448ca536335638a63b1c7eccb8a12e95 (patch) | |
tree | a684233ed2ab4e99316c04bc887cf6cbb77ef41c /src/main/java | |
parent | aad5111d45a66d943f0bcbe885ccb28249441d11 (diff) | |
download | OneConfig-32e80596448ca536335638a63b1c7eccb8a12e95.tar.gz OneConfig-32e80596448ca536335638a63b1c7eccb8a12e95.tar.bz2 OneConfig-32e80596448ca536335638a63b1c7eccb8a12e95.zip |
imageloader remove thing
Diffstat (limited to 'src/main/java')
-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); } |