tower / interior-flight / files / src / main.ts
Branch interior-flight · default branch · all branches
main.ts
| 1 | import './style.css' |
| 2 | import { App } from './ui/app.js' |
| 3 | import { WorldStore } from './world/store.js' |
| 4 | |
| 5 | /** |
| 6 | * The slat count stays at its canon value of 0. The runtime control is disabled and |
| 7 | * its UI removed — see decisions.md D-033. Restoring a stored non-zero count here |
| 8 | * would silently reintroduce the bug for anyone who had already moved the slider. |
| 9 | */ |
| 10 | const store = new WorldStore() |
| 11 | // The committed public world seeds a browser with no local draft yet. |
| 12 | await store.load(`${import.meta.env.BASE_URL}world.json`) |
| 13 | new App(store) |