add end screens

This commit is contained in:
2026-06-20 22:05:11 -07:00
parent 195b94076b
commit 0729384898
3 changed files with 33 additions and 8 deletions
+4
View File
@@ -18,5 +18,9 @@ render_overlay :: proc(world: ^World) {
hp := fmt.ctprintf("Health: %d", world.base_health)
rl.DrawText(hp, x, y, font_size, OVERLAY_TEXT_COLOR)
if world.phase == .Game_Over || world.phase == .Victory {
draw_end_screen(world)
}
}