Class BaseWaveConfig
java.lang.Object
com.csse3200.game.entities.configs.BaseWaveConfig
BaseWaveConfig is a class that represents a wave configuration.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
Get the minimum number of zombies to spawngetSpawnConfig
(String enemyType) Get the spawn configuration for a given enemy typeGet the spawn configurationsint
Get the wave weight
-
Constructor Details
-
BaseWaveConfig
public BaseWaveConfig()Creates a new BaseWaveConfig with default values.
-
-
Method Details
-
getWaveWeight
public int getWaveWeight()Get the wave weight- Returns:
- the wave weight
-
getMinZombiesSpawn
public int getMinZombiesSpawn()Get the minimum number of zombies to spawn- Returns:
- the minimum number of zombies to spawn
-
getSpawnConfigs
Get the spawn configurations- Returns:
- the spawn configurations
-
getSpawnConfig
Get the spawn configuration for a given enemy type- Parameters:
enemyType
- the enemy type- Returns:
- the spawn configuration for the given enemy type
-