MultiplayerMinesweeper/client/scripts/interface/scene.js

14 lines
353 B
JavaScript
Raw Normal View History

export function changeScene(scene) {
if (scene == "game") {
document.getElementById('menu').style = "display: none;"
document.getElementById('game').style = ""
2022-06-21 14:46:34 +00:00
// picker.create();
}
if (scene == "mainmenu") {
document.getElementById('menu').style = ""
document.getElementById('game').style = "display: none;"
2022-06-21 14:46:34 +00:00
// picker.destroy();
}
};