Added Working Playground

This commit is contained in:
2025-04-08 17:21:56 +02:00
parent a8220e6959
commit dcea0d24f5
7 changed files with 117 additions and 28 deletions

View File

@@ -0,0 +1,23 @@
class UIManager{
constructor(){
this.mainDiv = document.getElementById("mainMenu");
this.gameTable = undefined;
}
// Erstellen des Grundgerüstes der UI
loadGameContent(){
this.mainDiv.innerHTML = "";
const body = document.body;
body.style.backgroundImage = "none";
body.style.backgroundRepeat = "no-repeat";
body.style.backgroundColor = "#3b3b3f";
this.gameTable = document.createElement("table");
this.mainDiv.appendChild(this.gameTable);
}
}
export default UIManager;