2023-10-25 17:17:07 +00:00
|
|
|
import { render } from "./graphics.mjs";
|
2023-10-25 17:37:08 +00:00
|
|
|
import { tick } from "./tick.mjs";
|
|
|
|
|
2023-10-26 00:22:49 +00:00
|
|
|
import * as level from "./level.mjs";
|
|
|
|
|
2023-10-25 17:37:08 +00:00
|
|
|
|
|
|
|
|
|
|
|
function main () {
|
|
|
|
render();
|
|
|
|
tick();
|
|
|
|
|
|
|
|
requestAnimationFrame(main);
|
|
|
|
}
|
|
|
|
|
2023-10-27 11:57:10 +00:00
|
|
|
level.load_current();
|
2023-10-26 00:22:49 +00:00
|
|
|
|
2023-10-25 17:37:08 +00:00
|
|
|
main();
|