[oden] Oh boy here we go
This commit is contained in:
parent
8218b88820
commit
14f9eb655f
4 changed files with 206 additions and 31 deletions
14
src/main.js
14
src/main.js
|
|
@ -1,11 +1,11 @@
|
|||
import * as graphics from 'graphics';
|
||||
import { cls, print } from "graphics";
|
||||
|
||||
function init() {
|
||||
graphics.print("Hello world!");
|
||||
export function init() {
|
||||
print("Hello world!");
|
||||
}
|
||||
|
||||
function update() {}
|
||||
export function update() {}
|
||||
|
||||
function draw() {}
|
||||
|
||||
export { init, update, draw }
|
||||
export function draw() {
|
||||
cls(0.1, 0.2, 0.3);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue