Address Javascript errors

This commit is contained in:
Max Berger
2026-03-08 00:30:25 +01:00
parent 93610213e3
commit 64885fe32e
6 changed files with 88 additions and 58 deletions

View File

@@ -21,16 +21,17 @@
import { Scene } from "./scene_manager.js";
/**
* @constructor
* @implements {Scene}
*/
export function LoadingScene() {
let html_scene = document.getElementById("loadingscene");
this.show = function() {
html_scene.classList.remove("hidden");
};
this.hide = function() {
html_scene.classList.add("hidden");
};
this.release = function() {};
export class LoadingScene {
constructor() {
let html_scene = document.getElementById("loadingscene");
this.show = function () {
html_scene.classList.remove("hidden");
};
this.hide = function () {
html_scene.classList.add("hidden");
};
this.release = function () { };
}
}