diff options
Diffstat (limited to 'src/renderer.effekt')
-rw-r--r-- | src/renderer.effekt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/renderer.effekt b/src/renderer.effekt index 7a78321..aa8490e 100644 --- a/src/renderer.effekt +++ b/src/renderer.effekt @@ -7,12 +7,12 @@ Every backend must implement this interface. */ import bytearray -effect start(rom: ByteArray): Unit interface Renderer { - def init(): Unit / start + def init(run: (ByteArray) => Unit at {io, global}): Unit def clear(): Unit def draw(x: Int, y: Int): Unit + def fill(color: String): Unit def update(): Unit def log(msg: String): Unit } |