Class BaseSpawnConfig

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

public class BaseSpawnConfig extends Object
BaseSpawnConfig is a class that represents a spawn configuration.
  • Constructor Details

    • BaseSpawnConfig

      public BaseSpawnConfig()
      Default constructor.
  • Method Details

    • getCost

      public int getCost()
      Gets the cost of this enemy type.
      Returns:
      the cost of this enemy type
    • getChance

      public float getChance()
      Gets the spawn chance weight for this enemy type.
      Returns:
      the spawn chance weight for this enemy type