- //
- // Created by jovian on 19/08/17.
- //
- #include "PeopleMinimalGrowth.h"
- PeopleMinimalGrowth::PeopleMinimalGrowth(int delay) : PlanetStep(delay) {}
- void PeopleMinimalGrowth::apply(PlanetDef &def) {
- if (def.stock.get(PEOPLE) > 0) {
- def.stock.add(PEOPLE, 1);
- }
- }
|