Class BaseWaveConfig

java.lang.Object
com.csse3200.game.entities.configs.BaseWaveConfig

public class BaseWaveConfig extends Object
BaseWaveConfig is a class that represents a wave configuration.
  • 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

      public Map<String,BaseSpawnConfig> getSpawnConfigs()
      Get the spawn configurations
      Returns:
      the spawn configurations
    • getSpawnConfig

      public BaseSpawnConfig getSpawnConfig(String enemyType)
      Get the spawn configuration for a given enemy type
      Parameters:
      enemyType - the enemy type
      Returns:
      the spawn configuration for the given enemy type