import { Orientation } from "./enums/Orientation"; import { initApp, game, sceneManager } from "./init"; void (async () => { try { await initApp(); game.setOrientation(Orientation.Landscape); } catch (e) { console.error("initApp failed", e); } })(); if (import.meta.env.DEV) { (window as unknown as { game: typeof game; sceneManager: typeof sceneManager }).game = game; (window as unknown as { game: typeof game; sceneManager: typeof sceneManager }).sceneManager = sceneManager; }