diff options
author | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2022-04-21 18:34:15 +0800 |
---|---|---|
committer | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2022-04-21 18:34:15 +0800 |
commit | 4235ffd80ac8829266a7b9528c0205a0831686e2 (patch) | |
tree | f34bdeabbf1d681ea278274cf42925c28bc288cd /features/dungeonMap/index.js | |
parent | 64cff6227af6e5f1df9685c93a2672c00a1ac171 (diff) | |
download | SoopyV2-4235ffd80ac8829266a7b9528c0205a0831686e2.tar.gz SoopyV2-4235ffd80ac8829266a7b9528c0205a0831686e2.tar.bz2 SoopyV2-4235ffd80ac8829266a7b9528c0205a0831686e2.zip |
update
Diffstat (limited to 'features/dungeonMap/index.js')
-rw-r--r-- | features/dungeonMap/index.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/features/dungeonMap/index.js b/features/dungeonMap/index.js index 6facb3a..e2e84ed 100644 --- a/features/dungeonMap/index.js +++ b/features/dungeonMap/index.js @@ -15,6 +15,7 @@ import ButtonWithArrow from "../../../guimanager/GuiElement/ButtonWithArrow"; import ImageLocationSetting from "../settings/settingThings/imageLocation"; import socketConnection from "../../socketConnection"; import SoopyKeyPressEvent from "../../../guimanager/EventListener/SoopyKeyPressEvent"; +import SettingBase from "../settings/settingThings/settingBase"; const BufferedImage = Java.type("java.awt.image.BufferedImage") const AlphaComposite = Java.type("java.awt.AlphaComposite") @@ -30,6 +31,7 @@ class DungeonMap extends Feature { onEnable() { this.initVariables() + this.mapInfo = new SettingBase("NOTE: The more players in the party with this", "category enabled the more accurate the map will be.", undefined, "map_info", this) this.renderMap = new ToggleSetting("Render Map", "Toggles Rendering the map on the hud", false, "dmap_render", this) this.mapLocation = new ImageLocationSetting("Map Location", "Sets the location of the map on the hud", "dmap_location", this, [10, 10, 1], new Image(javax.imageio.ImageIO.read(new java.io.File("./config/ChatTriggers/modules/SoopyV2/features/dungeonMap/map.png"))), 100, 100).requires(this.renderMap) this.mapBackground = new ToggleSetting("Map Background And Border", "Puts a grey background behind the map + Black border", true, "dmap_background", this) |