Initial simple event manager.

This commit is contained in:
2026-09-15 05:42:12 +02:00
parent 106f8195e2
commit cb523a3d6f
3 changed files with 36 additions and 3 deletions
+3
View File
@@ -38,6 +38,9 @@ game_update :: proc(game: ^Game) {
} else {
scene_update(&game.scene, game, input, dt)
}
// flush any events triggered in this loop
flush_events()
}
game_render :: proc(game: ^Game) {