wave spawner, game phases, making game window larger

This commit is contained in:
2026-06-12 00:11:07 -07:00
parent 285b434499
commit c13a7979b0
8 changed files with 94 additions and 18 deletions
+3
View File
@@ -2,6 +2,7 @@ package game
Event_Kind :: enum {
Enemy_Killed,
Wave_Survived,
}
Event :: struct {
@@ -18,6 +19,8 @@ process_events :: proc(world: ^World) {
switch ev.kind {
case .Enemy_Killed:
world.gold += ev.gold_reward
case .Wave_Survived:
world.gold += ev.gold_reward
}
}
clear(&world.events)