15 lines
423 B
JavaScript
15 lines
423 B
JavaScript
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 = ""
|
|
// picker.create();
|
|
}
|
|
if (scene == "mainmenu") {
|
|
document.getElementById('menu').style = ""
|
|
document.getElementById('container').style = "display: none;"
|
|
// picker.destroy();
|
|
}
|
|
};
|