* Accessor for array _industry_tile_specs. * This will ensure at once : proper access and * not allowing modifications of it. * @param gfx of industrytile (which is the index in _industry_tile_specs) * @pre gfx < INVALID_INDUSTRYTILE * @return a pointer to the corresponding industrytile spec */
| 138 | * @return a pointer to the corresponding industrytile spec |
| 139 | */ |
| 140 | const IndustryTileSpec *GetIndustryTileSpec(IndustryGfx gfx) |
| 141 | { |
| 142 | assert(gfx < NUM_INDUSTRYTILES); |
| 143 | return &_industry_tile_specs[gfx]; |
| 144 | } |
| 145 | |
| 146 | Industry::~Industry() |
| 147 | { |
no outgoing calls
no test coverage detected