Package com.csse3200.game.entities
Interface WaveConfigProvider
- All Known Implementing Classes:
WaveManager
public interface WaveConfigProvider
Interface for providing wave configuration data to avoid circular dependencies. This allows
EntitySpawn to depend on an abstraction rather than WaveManager directly.
-
Method Summary
Modifier and TypeMethodDescriptionGets the enemy configuration map for the current wave.int
Gets the minimum number of zombies to spawn for the current wave.int
Gets the configured weight/budget for the current wave.
-
Method Details
-
getWaveWeight
int getWaveWeight()Gets the configured weight/budget for the current wave.- Returns:
- the wave weight budget
-
getMinZombiesSpawn
int getMinZombiesSpawn()Gets the minimum number of zombies to spawn for the current wave.- Returns:
- the minimum zombie spawn count
-
getEnemyConfigs
Map<String,BaseSpawnConfig> getEnemyConfigs()Gets the enemy configuration map for the current wave.- Returns:
- map of enemy type to spawn configuration
-