From 2f8b8c87fb2062313afea7b625ccb20d1bea95b9 Mon Sep 17 00:00:00 2001 From: Maksymilian Jopek Date: Tue, 24 May 2022 18:25:43 +0200 Subject: Initial commit --- src/main.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 src/main.ts (limited to 'src/main.ts') diff --git a/src/main.ts b/src/main.ts new file mode 100644 index 0000000..9f462e5 --- /dev/null +++ b/src/main.ts @@ -0,0 +1,10 @@ +import "./style.css"; +import "./Events"; +import loadAllImages from "./Images"; +import { start } from "./game"; + +async function init() { + await loadAllImages(); + start(); +} +document.body.onload = init; -- cgit v1.3.1