make Game.gd not rely on autoload/global

This commit is contained in:
2025-06-24 01:14:50 +10:00
parent 20cde0a778
commit 64befd8ec7
33 changed files with 194 additions and 411 deletions

View File

@ -12,7 +12,7 @@ class_name WaveManager extends Object
## Takes in wave number and number of players and returns a spawn power value
## intended for passing into the generate_wave method
static func calculate_spawn_power(wave_number: int, number_of_players: int) -> int:
return (40 * number_of_players) + (6 * wave_number)
return (30 * number_of_players) + (6 * wave_number)
## Takes in wave number and number of players and returns the amount of coins