bugfixes and cleanup

This commit is contained in:
Kim Ravn Hansen
2025-10-13 18:58:58 +02:00
parent 1249a34fc5
commit e12dfd0981
12 changed files with 165 additions and 114 deletions

View File

@@ -1,8 +1,10 @@
import { PasswordPrompt } from "./passwordPrompt.js";
import { Player } from "../../models/player.js";
import { Scene } from "../scene.js";
import { UsernamePrompt } from "./usernamePrompt.js";
import { PlayerCreationScene } from "../playerCreation/playerCreationSene.js";
import { GameScene } from "../gameLoop/gameScene.js";
/** @typedef {import("../../models/player.js").Player} Player */
/** @property {Session} session */
export class AuthenticationScene extends Scene {
@@ -31,7 +33,7 @@ export class AuthenticationScene extends Scene {
this.session.sendText(["= Success!", "((but I don't know what to do now...))"]);
this.session.setScene("new JustLoggedInScene");
this.session.setScene(new GameScene());
}
/**