* Initializes a country of the specified type. * @param rules Pointer to ruleset. * @param gen Generate new funding. */
| 29 | * @param gen Generate new funding. |
| 30 | */ |
| 31 | Country::Country(RuleCountry *rules, bool gen) : _rules(rules), _pact(false), _newPact(false), _funding(0), _satisfaction(2) |
| 32 | { |
| 33 | if (gen) |
| 34 | { |
| 35 | _funding.push_back(_rules->generateFunding()); |
| 36 | } |
| 37 | _activityAlien.push_back(0); |
| 38 | _activityXcom.push_back(0); |
| 39 | } |
| 40 | |
| 41 | /** |
| 42 | * |
nothing calls this directly
no test coverage detected