diff options
author | Can | 2025-02-03 17:12:20 +0100 |
---|---|---|
committer | Can | 2025-02-03 17:12:20 +0100 |
commit | 13e41e69f7a10b819f77c2db0b9e5364ea51de2e (patch) | |
tree | 0cbf7c51111b6bc2403095d888c147ea04a1b8b7 /src/renderer.effekt | |
parent | 7beb6fd52a4fad8e914a061eb3816cdff206dc76 (diff) |
UI changes and audio support
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 } |