diff options
author | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2021-12-12 00:48:04 +0800 |
---|---|---|
committer | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2021-12-12 00:48:04 +0800 |
commit | 2789848b1518ff3e4805bc1d32241ebb34a31ddb (patch) | |
tree | cb7c6bce18eeb769c29631017634dab86c5dc74f /features/soopyGui | |
parent | e395faaf3db958bcab87d91936a5585ad9a572c3 (diff) | |
download | SoopyV2-2789848b1518ff3e4805bc1d32241ebb34a31ddb.tar.gz SoopyV2-2789848b1518ff3e4805bc1d32241ebb34a31ddb.tar.bz2 SoopyV2-2789848b1518ff3e4805bc1d32241ebb34a31ddb.zip |
Initial gui with main page, credits, and main player lb and guild lb
Diffstat (limited to 'features/soopyGui')
-rw-r--r-- | features/soopyGui/GuiPage.js | 2 | ||||
-rw-r--r-- | features/soopyGui/index.js | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/features/soopyGui/GuiPage.js b/features/soopyGui/GuiPage.js index 583eab9..1ae10fe 100644 --- a/features/soopyGui/GuiPage.js +++ b/features/soopyGui/GuiPage.js @@ -7,7 +7,7 @@ class GuiPage{ this.soopyGui = undefined; new Thread(()=>{ - while(global.soopyv2featuremanagerthing.features === undefined || global.soopyv2featuremanagerthing.features["soopyGui"] === undefined){ + while(global.soopyv2featuremanagerthing === undefined || global.soopyv2featuremanagerthing.features === undefined || global.soopyv2featuremanagerthing.features["soopyGui"] === undefined){ Thread.sleep(100) } diff --git a/features/soopyGui/index.js b/features/soopyGui/index.js index 662221d..4917db6 100644 --- a/features/soopyGui/index.js +++ b/features/soopyGui/index.js @@ -1,7 +1,6 @@ /// <reference types="../../../CTAutocomplete" /> /// <reference lib="es2015" /> import Feature from "../../featureClass/class"; -import * as GuiManager from "../../../guimanager/index.js" import SoopyGuiElement from "../../../guimanager/GuiElement/SoopyGuiElement"; import SoopyTextElement from "../../../guimanager/GuiElement/SoopyTextElement"; import SoopyBoxElement from "../../../guimanager/GuiElement/SoopyBoxElement"; @@ -9,6 +8,7 @@ import TextWithArrow from "../../../guimanager/GuiElement/TextWithArrow"; import ButtonWithArrow from "../../../guimanager/GuiElement/ButtonWithArrow"; import SoopyMouseClickEvent from "../../../guimanager/EventListener/SoopyMouseClickEvent"; import SoopyOpenGuiEvent from "../../../guimanager/EventListener/SoopyOpenGuiEvent"; +import SoopyGui2 from "../../../guimanager/SoopyGui"; class SoopyGui extends Feature { @@ -30,7 +30,7 @@ class SoopyGui extends Feature { } onEnable(){ - this.gui = new GuiManager.SoopyGui() + this.gui = new SoopyGui2() // this.gui.isDebugEnabled = true |