10 lines
389 B
JavaScript
10 lines
389 B
JavaScript
import { GdRoot } from "./GameData/index.js";
|
|
import { EViewType, ViewManager } from "./View/index.js";
|
|
document.addEventListener("DOMContentLoaded", async () => {
|
|
const gdRoot = new GdRoot();
|
|
await gdRoot.loadAsync();
|
|
const viewManager = new ViewManager();
|
|
await viewManager.loadAsync(gdRoot);
|
|
viewManager.showView(EViewType.Menu);
|
|
});
|
|
//# sourceMappingURL=main.js.map
|