Properties of a building with respect to its construction. */
| 221 | |
| 222 | /** Properties of a building with respect to its construction. */ |
| 223 | class BuildingProperties |
| 224 | { |
| 225 | public: |
| 226 | BuildingProperties(int xs, int ys, MapTile base, EditingTool tool, |
| 227 | const char *tName, bool anim); |
| 228 | ~BuildingProperties(); |
| 229 | |
| 230 | const int sizeX; ///< Number of tiles in horizontal direction. |
| 231 | const int sizeY; ///< Number of tiles in vertical direction. |
| 232 | |
| 233 | const MapTile baseTile; ///< Tile value at top-left in the map. |
| 234 | |
| 235 | const EditingTool tool; ///< Tool needed for making the building. |
| 236 | |
| 237 | /** Name of the tool needed for making the building. */ |
| 238 | const char *toolName; |
| 239 | |
| 240 | const bool buildingIsAnimated; ///< Building has animated tiles. |
| 241 | }; |
| 242 | |
| 243 | //////////////////////////////////////////////////////////////////////// |
| 244 |