* Populates the build list from the current "available" facilities. */
| 69 | * Populates the build list from the current "available" facilities. |
| 70 | */ |
| 71 | void SelectStartFacilityState::populateBuildList() |
| 72 | { |
| 73 | _lstFacilities->clearList(); |
| 74 | for (std::vector<RuleBaseFacility*>::iterator i = _facilities.begin(); i != _facilities.end(); ++i) |
| 75 | { |
| 76 | _lstFacilities->addRow(1, tr((*i)->getType()).c_str()); |
| 77 | } |
| 78 | } |
| 79 | |
| 80 | /** |
| 81 | * Resets the base building. |