summaryrefslogtreecommitdiff
path: root/composeApp/src/commonMain/kotlin/coffee/liz/abstractionengine/game/Game.kt
diff options
context:
space:
mode:
authorElizabeth Hunt <me@liz.coffee>2025-10-26 21:38:22 -0700
committerElizabeth Hunt <me@liz.coffee>2025-10-26 21:39:58 -0700
commita8e5e723b7e1891c9b352261a3ee4c3d3563e8cf (patch)
tree853df79c877d37d7e5d25f52b301aedcc3d5db55 /composeApp/src/commonMain/kotlin/coffee/liz/abstractionengine/game/Game.kt
parent395aa7d1c312e495517701be11c21425d9a5838e (diff)
downloadabstraction-engine-kt-main.tar.gz
abstraction-engine-kt-main.zip
Checkpoint twoHEADmain
Diffstat (limited to 'composeApp/src/commonMain/kotlin/coffee/liz/abstractionengine/game/Game.kt')
-rw-r--r--composeApp/src/commonMain/kotlin/coffee/liz/abstractionengine/game/Game.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/composeApp/src/commonMain/kotlin/coffee/liz/abstractionengine/game/Game.kt b/composeApp/src/commonMain/kotlin/coffee/liz/abstractionengine/game/Game.kt
index 0c3a007..20ea74c 100644
--- a/composeApp/src/commonMain/kotlin/coffee/liz/abstractionengine/game/Game.kt
+++ b/composeApp/src/commonMain/kotlin/coffee/liz/abstractionengine/game/Game.kt
@@ -14,7 +14,7 @@ import kotlin.time.Duration.Companion.nanoseconds
@Composable
fun Game(
world: World,
- content: @Composable () -> Unit
+ content: @Composable () -> Unit,
) {
var frameCount by remember { mutableStateOf(0) }
@@ -36,7 +36,7 @@ fun GameCanvas(
world: World,
renderSystem: Renderer,
backgroundColor: Color = Color.Transparent,
- modifier: Modifier = Modifier
+ modifier: Modifier = Modifier,
) {
Canvas(modifier = modifier) {
// Clear background