Class BaseGeneratorConfig

java.lang.Object
com.csse3200.game.entities.configs.BaseEntityConfig
com.csse3200.game.entities.configs.BaseGeneratorConfig

public class BaseGeneratorConfig extends BaseEntityConfig
Defines a set of properties for all generators.
  • Constructor Details

    • BaseGeneratorConfig

      public BaseGeneratorConfig()
      Creates a new BaseGeneratorConfig with default values.
  • Method Details

    • getInterval

      public int getInterval()
      Gets the interval of the generator.
      Returns:
      the interval of the generator
    • getScrapValue

      public int getScrapValue()
      Gets the scrap value of the generator.
      Returns:
      the scrap value of the generator
    • getCost

      public int getCost()
      Gets the cost of the generator.
      Returns:
      the cost of the generator