From 973c22dc3f651515b8015e918ea324ce3cc10715 Mon Sep 17 00:00:00 2001 From: Renge Date: Mon, 25 Apr 2022 23:34:32 -0400 Subject: [PATCH] feat: add seed customizer --- src/shattered_sword/Scenes/Levels.ts | 28 +++++++++++++++++++++------- 1 file changed, 21 insertions(+), 7 deletions(-) diff --git a/src/shattered_sword/Scenes/Levels.ts b/src/shattered_sword/Scenes/Levels.ts index 4e51b86..b2c23bb 100644 --- a/src/shattered_sword/Scenes/Levels.ts +++ b/src/shattered_sword/Scenes/Levels.ts @@ -15,10 +15,12 @@ import Tutorial from "./Tutorial"; import Porcelain from "./Porcelain"; import Greatwall from './Greatwall'; import InputWrapper from "../Tools/InputWrapper"; +import TextInput from "../../Wolfie2D/Nodes/UIElements/TextInput"; export default class Levels extends Scene { private primary: Layer; + private seedInput: TextInput; // TODO loadScene(){} startScene(){ @@ -27,13 +29,19 @@ export default class Levels extends Scene { // The main menu this.primary = this.addUILayer("primary"); + + const seedHint =