15 lines
307 B
JavaScript
15 lines
307 B
JavaScript
import * as core from "graphics-core";
|
|
|
|
export function cls(r, g, b) {
|
|
core.cls(r, g, b);
|
|
}
|
|
|
|
export function print(...args) {
|
|
core.print(args.join(" "));
|
|
}
|
|
|
|
export function spr(x, y, w, h, sx, sy, sw = undefined, sh = undefined) {
|
|
sw = sw | w;
|
|
sh = sh | h;
|
|
core.spr(x, y, w, h, sx, sy, sw, sh);
|
|
}
|