done adding LevelType.level_type as a field of GameType.game_type, and having main loop go through GameUpdate.game_type -> LevelUpdate.update

This commit is contained in:
2025-02-18 13:48:17 +00:00
parent afe878c05d
commit 6b4b637624
7 changed files with 72 additions and 46 deletions

View File

@@ -11,7 +11,6 @@ struct
, enemies
, graph
, fallingEnemies
, userKeys
} = game
val player = Player.runPhysicsAndInput (game, input)
@@ -40,7 +39,6 @@ struct
, enemies = enemies
, graph = graph
, fallingEnemies = fallingEnemies
, userKeys = userKeys
}
end
end