[oden] OK now everything is TS and it type-checks
This commit is contained in:
parent
3968aabdb1
commit
b6f6d908d2
6 changed files with 168 additions and 158 deletions
12
src/main.ts
Normal file
12
src/main.ts
Normal 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);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue