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
-8
View File
@@ -7,13 +7,5 @@ render_hud :: proc(world: ^World) {
rl.DrawText(fmt.ctprintf("Enemies: %d", active_enemy_count(world)), 10, 54, 22, rl.BLACK)
rl.DrawText(fmt.ctprintf("Wave: %d / %d", world.wave, MAX_WAVES), 10, 76, 22, rl.BLACK)
switch world.phase {
case .Build:
case .Combat:
case .Game_Over:
rl.DrawText("GAME_OVER", 260, 280, 40, rl.RED)
case .Victory:
rl.DrawText("Victory!", 260, 280, 40, rl.GREEN)
}
}