diff options
Diffstat (limited to 'src/renderer.effekt')
-rw-r--r-- | src/renderer.effekt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/renderer.effekt b/src/renderer.effekt index 9aca29d..0e8145b 100644 --- a/src/renderer.effekt +++ b/src/renderer.effekt @@ -7,6 +7,7 @@ Every backend must implement this interface. */ import bytearray +// region of runtime interface Renderer { def init(run: (ByteArray) => Unit at {io, global}): Unit @@ -17,4 +18,6 @@ interface Renderer { def update(f: () => Unit at {io, global}): Unit def log(msg: String): Unit def getKeyPressed(): Option[String] + def beep(): Unit + def stopBeep(): Unit } |