2022-06-20 00:38:09 +00:00
|
|
|
import * as picker from "/scripts/interface/game/picker.js"
|
2022-06-20 00:18:47 +00:00
|
|
|
|
2022-06-20 00:38:09 +00:00
|
|
|
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();
|
2022-06-20 00:38:09 +00:00
|
|
|
}
|
|
|
|
if (scene == "mainmenu") {
|
|
|
|
document.getElementById('menu').style = ""
|
|
|
|
document.getElementById('container').style = "display: none;"
|
2022-06-21 14:46:34 +00:00
|
|
|
// picker.destroy();
|
2022-06-20 00:38:09 +00:00
|
|
|
}
|
2022-06-20 00:18:47 +00:00
|
|
|
};
|