[oden] OK now everything is TS and it type-checks

This commit is contained in:
John Doty 2023-06-24 17:49:41 -07:00
parent 3968aabdb1
commit b6f6d908d2
6 changed files with 168 additions and 158 deletions

12
src/main.ts Normal file
View file

@ -0,0 +1,12 @@
import { cls, print, spr } from "./graphics.ts";
export function init() {
print("Hello world!");
}
export function update() {}
export function draw() {
cls(0.1, 0.2, 0.3);
spr(0, 0, 0.5, 0.5, 0, 0);
}