message: Move `foodProducers` list to `AddFood` case
diff: @@ -698,10 +698,6 @@ void MapViewState::onTurns()
  void MapViewState::onCheatCodeEntry(const std::string& cheatCode)
  {
  CheatMenu::CheatCode code = CheatMenu::stringToCheatCode(cheatCode);
  - auto foodProducers = NAS2D::Utility<StructureManager>::get().getStructures<FoodProduction>();
  - auto& command = NAS2D::Utility<StructureManager>::get().getStructures<CommandCenter>();
  -
  - foodProducers.insert(foodProducers.begin(), command.begin(), command.end());
  switch(code)
  {
  case CheatMenu::CheatCode::Invalid:
  @@ -710,10 +706,16 @@ void MapViewState::onCheatCodeEntry(const std::string& cheatCode)
  addRefinedResources({1000, 1000, 1000, 1000});
  break;
  case CheatMenu::CheatCode::AddFood:
  + {
  + auto foodProducers = NAS2D::Utility<StructureManager>::get().getStructures<FoodProduction>();
  + auto& command = NAS2D::Utility<StructureManager>::get().getStructures<CommandCenter>();
  + foodProducers.insert(foodProducers.begin(), command.begin(), command.end());
  +
  for (auto fp : foodProducers)
  {
  fp->foodLevel(fp->foodCapacity());
  }
  + }
  break;
  case CheatMenu::CheatCode::AddChildren:
  mPopulation.addPopulation({10, 0, 0, 0, 0});
  