diff options
author | bd <bdunahu@operationnull.com> | 2025-05-29 14:32:47 -0400 |
---|---|---|
committer | bd <bdunahu@operationnull.com> | 2025-05-29 14:32:47 -0400 |
commit | 0f6253876681955020005e7c29429b59250af601 (patch) | |
tree | 7c0c6a8922aad8204fd81950661f68ad9a1011ea /scripts/player.gd | |
parent | 3affe4e168604dcaafd93e03a79b5cc6122d5bfc (diff) |
More advanced wave spawning, player controls advancing of waves
Diffstat (limited to 'scripts/player.gd')
-rw-r--r-- | scripts/player.gd | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/player.gd b/scripts/player.gd index 43ca213..4a37965 100644 --- a/scripts/player.gd +++ b/scripts/player.gd @@ -38,6 +38,8 @@ func _unhandled_input(event): for id in tower_ids.keys(): if event.is_action_pressed(id): _tm.handle_tower_key(tower_ids[id], global_position) + if event.is_action_pressed("advance_wave"): + GameData.start_spawning() emit_signal("curr_tile", _get_tile_state()) func handle_move(dir): |