diff --git a/src/shattered_sword/Scenes/GameFinish.ts b/src/shattered_sword/Scenes/GameFinish.ts new file mode 100644 index 0000000..eccfb16 --- /dev/null +++ b/src/shattered_sword/Scenes/GameFinish.ts @@ -0,0 +1,36 @@ +import Vec2 from "../../Wolfie2D/DataTypes/Vec2"; +import Label from "../../Wolfie2D/Nodes/UIElements/Label"; +import { UIElementType } from "../../Wolfie2D/Nodes/UIElements/UIElementTypes"; +import Scene from "../../Wolfie2D/Scene/Scene"; +import Color from "../../Wolfie2D/Utils/Color"; +import { GameState } from "../sword_enums"; +import InputWrapper from "../Tools/InputWrapper"; +import GameLevel from "./GameLevel"; +import MainMenu from "./MainMenu"; + +export default class GameFinish extends Scene { + + startScene() { + InputWrapper.setState(GameState.PAUSE); + InputWrapper.randomSeed = undefined; + const center = this.viewport.getCenter(); + + this.addUILayer("primary"); + + const congra =