PeopleExpGrowth.h 406 B

1234567891011121314151617181920212223
  1. //
  2. // Created by jovian on 18/08/17.
  3. //
  4. #ifndef SPACEEXPANSION_PEOPLEGROWTH_H
  5. #define SPACEEXPANSION_PEOPLEGROWTH_H
  6. #include "PlanetStep.h"
  7. class PeopleExpGrowth : public PlanetStep {
  8. // Method
  9. public:
  10. PeopleExpGrowth(int delay = 100, int divisor = 1000);
  11. void apply(PlanetDef &def) override;
  12. // Attributes
  13. private:
  14. const int m_divisor;
  15. };
  16. #endif //SPACEEXPANSION_PEOPLEGROWTH_H