17 lines
222 B
JavaScript
17 lines
222 B
JavaScript
import { render } from "./graphics.mjs";
|
|
import { tick } from "./tick.mjs";
|
|
|
|
import * as level from "./level.mjs";
|
|
|
|
|
|
|
|
function main () {
|
|
render();
|
|
tick();
|
|
|
|
requestAnimationFrame(main);
|
|
}
|
|
|
|
level.load_current();
|
|
|
|
main();
|