Class BaseSpawnConfig
java.lang.Object
com.csse3200.game.entities.configs.BaseSpawnConfig
BaseSpawnConfig is a class that represents a spawn configuration.
-
Constructor Summary
Constructors -
Method Summary
-
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
-