diff options
author | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2022-09-17 23:47:59 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-17 23:47:59 +0800 |
commit | 364caae9b6e47b8d5e1bab950aebc5b35bc4baad (patch) | |
tree | e554b5859e0135b8f644986768306d5f3ee5683e /features/globalSettings/firstLoadPage.js | |
parent | eb8bc77bf2d790e97fe793eb96ad77e1b4d2bbbf (diff) | |
parent | 12f3a81cf12c6ffc24a7f2a0e8102dfba3fddf82 (diff) | |
download | SoopyV2-364caae9b6e47b8d5e1bab950aebc5b35bc4baad.tar.gz SoopyV2-364caae9b6e47b8d5e1bab950aebc5b35bc4baad.tar.bz2 SoopyV2-364caae9b6e47b8d5e1bab950aebc5b35bc4baad.zip |
Merge pull request #71 from Soopyboo32/Babel
Diffstat (limited to 'features/globalSettings/firstLoadPage.js')
-rw-r--r-- | features/globalSettings/firstLoadPage.js | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/features/globalSettings/firstLoadPage.js b/features/globalSettings/firstLoadPage.js deleted file mode 100644 index 62805f5..0000000 --- a/features/globalSettings/firstLoadPage.js +++ /dev/null @@ -1,42 +0,0 @@ -import SoopyMouseClickEvent from "../../../guimanager/EventListener/SoopyMouseClickEvent" -import ButtonWithArrow from "../../../guimanager/GuiElement/ButtonWithArrow" -import SoopyGuiElement from "../../../guimanager/GuiElement/SoopyGuiElement" - -class FirstLoadPage extends SoopyGuiElement { - constructor() { - super() - - this.setLocation(0, 0, 1, 1) - - this.guiPage = undefined - } - - setLoc(addBack, addNext) { - if (addBack) { - let backButton = new ButtonWithArrow().setLocation(0.05, 0.85, 0.2, 0.1).setDirectionRight(false).setText("§0Back") - - backButton.addEvent(new SoopyMouseClickEvent().setHandler(() => { - this.guiPage.prevPage() - this.guiPage.closeSidebarPage() - })) - - this.addChild(backButton) - } - if (addNext) { - let nextButton = new ButtonWithArrow().setLocation(0.75, 0.85, 0.2, 0.1).setText("§0Next") - - nextButton.addEvent(new SoopyMouseClickEvent().setHandler(() => { - this.guiPage.nextPage() - this.guiPage.closeSidebarPage() - })) - - this.addChild(nextButton) - } - } - - load() { - - } -} - -export default FirstLoadPage
\ No newline at end of file |