# ai_industrytypelist.cpp

Go to the documentation of this file.

    00001 /* $Id: ai_industrytypelist.cpp 15299 2009-01-31 20:16:06Z smatz $ */
    00002
    00005 #include "ai_industrytypelist.hpp"
    00006 #include "../../tile_type.h"
    00007 #include "../../industry.h"
    00008
    00009 AIIndustryTypeList::AIIndustryTypeList()
    00010 {
    00011   for (int i = 0; i < NUM_INDUSTRYTYPES; i++) {
    00012     if (AIIndustryType::IsValidIndustryType(i)) this->AddItem(i);
    00013   }
    00014 }