From 4235ffd80ac8829266a7b9528c0205a0831686e2 Mon Sep 17 00:00:00 2001 From: Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> Date: Thu, 21 Apr 2022 18:34:15 +0800 Subject: update --- features/dungeonMap/index.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'features/dungeonMap/index.js') 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) -- cgit