From 4a8ce96a237f3d242008189e167c1b73f96aceb8 Mon Sep 17 00:00:00 2001 From: Can Date: Sun, 19 Jan 2025 16:37:34 +0100 Subject: feat: Renderer fixes, cpu can cycle now --- src/renderer.effekt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/renderer.effekt') diff --git a/src/renderer.effekt b/src/renderer.effekt index aa8490e..358272b 100644 --- a/src/renderer.effekt +++ b/src/renderer.effekt @@ -13,6 +13,7 @@ interface Renderer { def clear(): Unit def draw(x: Int, y: Int): Unit def fill(color: String): Unit - def update(): Unit + def get(x: Int, y: Int): Bool + def update(f: () => Unit at {io, global}): Unit def log(msg: String): Unit } -- cgit v1.2.3