generated from rnentjes/kotlin-server-web-undertow
Add platform-specific requestAnimationFrame, refactor redundant string accessor methods, and introduce BufferedImage and Color classes for emulator graphics rendering.
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
package mtmc.util
|
||||
|
||||
actual fun currentTimeMillis(): Long = System.currentTimeMillis()
|
||||
actual fun currentTimeMillis(): Long = System.currentTimeMillis()
|
||||
actual fun requestAnimationFrame(action: (Double) -> Unit) {
|
||||
error("requestAnimationFrame is not supported on JVM")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user