aboutsummaryrefslogtreecommitdiff
path: root/src/renderer.effekt
diff options
context:
space:
mode:
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
}