aboutsummaryrefslogtreecommitdiff
path: root/features/globalSettings/firstLoadPage.js
diff options
context:
space:
mode:
authorSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-09-17 19:39:05 +0800
committerSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-09-17 19:39:05 +0800
commit431e4fc9d1657a50ebc34b8ac24f9bfaea06417f (patch)
tree5987bb14f38d2999c682970429f34b41eb3e5826 /features/globalSettings/firstLoadPage.js
parente73f2efdf0f50aa775c540317394d46428e9704f (diff)
downloadSoopyV2-431e4fc9d1657a50ebc34b8ac24f9bfaea06417f.tar.gz
SoopyV2-431e4fc9d1657a50ebc34b8ac24f9bfaea06417f.tar.bz2
SoopyV2-431e4fc9d1657a50ebc34b8ac24f9bfaea06417f.zip
Initial move to babel + change fetch to use async/await
Diffstat (limited to 'features/globalSettings/firstLoadPage.js')
-rw-r--r--features/globalSettings/firstLoadPage.js42
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