add cannon - no projectiles, no control button

This commit is contained in:
2026-06-23 00:39:18 -07:00
parent fcfd1e95d8
commit 0815530717
3 changed files with 37 additions and 3 deletions
+2
View File
@@ -18,6 +18,8 @@ gather_commands :: proc(world: ^World) -> Command {
ui_cmd := poll_controls_command(world)
if ui_cmd.kind != .None do return ui_cmd
if rl.IsKeyPressed(.ONE) do world.selected_tower = .Archer
if rl.IsKeyPressed(.TWO) do world.selected_tower = .Cannon
if world.phase == .Build && rl.IsKeyPressed(.N) {
return Command{kind = .Start_Wave}
}