MultiplayerMinesweeper/www/scripts/interface/scene.js

15 lines
423 B
JavaScript
Raw Normal View History

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