add a start wave button
This commit is contained in:
@@ -15,6 +15,9 @@ Command :: struct {
|
||||
}
|
||||
|
||||
gather_commands :: proc(world: ^World) -> Command {
|
||||
ui_cmd := overlay_ui_command(world)
|
||||
if ui_cmd.kind != .None do return ui_cmd
|
||||
|
||||
if world.phase == .Build && rl.IsKeyPressed(.N) {
|
||||
return Command{kind = .Start_Wave}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user