Initial simple event manager.
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user