aboutsummaryrefslogtreecommitdiff
path: root/src/renderer.effekt
diff options
context:
space:
mode:
authorCan2025-01-19 16:37:34 +0100
committerCan2025-01-19 16:37:34 +0100
commit4a8ce96a237f3d242008189e167c1b73f96aceb8 (patch)
treeab04edc95d301df3b2f1d30db664b9be4f8c27ff /src/renderer.effekt
parentf54eb0b9890062e5757297b7a3a013df23ae79d7 (diff)
feat: Renderer fixes, cpu can cycle now
Diffstat (limited to 'src/renderer.effekt')
-rw-r--r--src/renderer.effekt3
1 files changed, 2 insertions, 1 deletions
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
}